From: eyal DOT ben-david AT aks DOT com To: p6inf700 AT maya DOT cicrp DOT jussieu DOT fr cc: djgpp AT delorie DOT com Message-ID: Date: Tue, 20 May 1997 15:17:36 +0300 Subject: Re: new and malloc Mime-Version: 1.0 Content-type: text/plain; charset=US-ASCII Precedence: bulk Hello ! > Are NEW and MALLOC compatible? Never assume that. some inplementations of C++ implement 'new' by 'malloc' but generally if you want to write portable code do not mix them. it is possible to allocate buffer X with malloc and buffer Y with new but then you must release X with 'free' and 'Y' with 'delete'. eyal.