RE: [Dev-C++] dynamic allocation and structs
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ioannis V. <no...@ho...> - 2002-10-26 13:58:10
|
> -----Original Message----- > From: dev...@li...=20 > [mailto:dev...@li...] On Behalf=20 > Of Louis Godio > Sent: Saturday, October 26, 2002 3:30 AM > To: se...@al...; Per Westermark > Cc: dev...@li... > Subject: RE: [Dev-C++] dynamic allocation and structs >=20 >=20 >=20 > What was the final answer to the the original question asked: > "what is the duration of memory allocated by malloc (etc.)? " >=20 > If not freed manually or by a destructor, Does the memory ALWAYS get > released when the main() program ends with a normal exit ?=20 Yes. Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL: http://run.to/noicys |