Message-ID: <004101bf7a97$06ff2ca0$cff0fea9@stevenhe> From: "Steven C. Hendrickson" To: References: <38AD8622 DOT AE067F97 AT tiscalinet DOT it> Subject: Re: new vs malloc Date: Fri, 18 Feb 2000 21:06:01 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.3825.400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.3825.400 Reply-To: djgpp AT delorie DOT com '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: Newsgroups: comp.os.msdos.djgpp To: "DJ Delorie" Sent: Friday, February 18, 2000 9:49 AM Subject: new vs malloc > Which is the difference between the "new" command and the "malloc" > function? > > >