Afficher un message
Vieux 03/02/2008, 00h24   #1
Morris Dovey
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Why no reset() function?

Prad wrote:

> Often programs will have memory leaks, so if they are run over long
> times then it's necessary to restart them sometimes. With a reset()
> function, they could effectively restart themselves by freeing their
> memory without needing to be closed and reopened.


A memory leak constitutes a program error. Programs without such
errors don't need any of the remedies you're suggesting.

--
Morris Dovey
DeSoto Solar
DeSoto, Iowa USA
http://www.iedu.com/DeSoto
  Réponse avec citation
 
Page generated in 0,05048 seconds with 9 queries