delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/28/10:21:20

From: Nathan Gray <gray AT ll DOT mit DOT edu>
Newsgroups: rec.games.design,alt.msdos.programmer,comp.os.msdos.djgpp,rec.games.programmer
Subject: Re: C or C++
Date: Wed, 28 May 1997 09:23:05 -0400
Organization: MIT Lincoln Laboratory
Lines: 10
Message-ID: <338C31B9.3146@ll.mit.edu>
References: <5lrt2d$qun AT bambam DOT soi DOT city DOT ac DOT uk> <5mftso$2nc AT butch DOT lmms DOT lmco DOT com>
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Since we're on the subject of C and C++, does anyone have a good
explanation for the differences between malloc() and new?  As a native
C++ programmer, my first instinct is to use new, but I see malloc() so
often I'm starting to wonder if I'm missing something.
-- 
| Nathaniel A. Gray	| MIT Lincoln Laboratory		   |
| gray AT ll DOT mit DOT edu	| Group 35 - Signature Studies and Analysis|
|------------------------------------------------------------------|
| "But don't panic!  Base eight is just like base ten, really...   |
|  if you're missing two fingers!"  -Tom Lehrer                    |

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019