Mail Archives: djgpp/2000/02/19/03:11:52
'new' automatically sizes the memory needed for your object, and returns the
proper type pointer to it; 'malloc' needs to be sized, and the pointer
needs to be cast.
Steve Hendrickson
----- Original Message -----
From: <night DOT walker AT tiscalinet DOT it>
Newsgroups: comp.os.msdos.djgpp
To: "DJ Delorie" <djgpp AT Delorie DOT com>
Sent: Friday, February 18, 2000 9:49 AM
Subject: new vs malloc
> Which is the difference between the "new" command and the "malloc"
> function?
>
>
>
- Raw text -