|
From: Ioannis V. <no...@ho...> - 2002-09-05 16:47:15
|
-----Original Message----- > From: dev...@li...=20 > [mailto:dev...@li...] On Behalf=20 > Of Abhijit Shylanath > Sent: Thursday, September 05, 2002 7:15 PM > To: Carlos Garc=EDa del Monte; dev-cpp-users-list > Subject: Re: [Dev-C++] realloc >=20 > No way under C++ to=20 > realloc() a new'ed > pointer, is there? (Apart from writing your own `renew' function) In C++ standard library containers must be preferred instead of manually allocating and deallocating memory on the free store. No realloc() feature is provided as stand alone. Take also a look at: http://www.research.att.com/~bs/bs_faq2.html#renew Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys |