Ive not heard of this, and I have been programming C(with malloc) since 1992. I don't see a problem with malloc, in fact the only problem I've seen is the programmers abusing the poor pointers and never using free. :P
Mike ----- Original Message ----- From: "Peter Jay Salzman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 19, 2003 6:08 PM Subject: [vox-tech] malloc() is ... old school? > i've heard this from two people now. > > some students are being taught they should stay clear of malloc() and > instead use calloc() because calloc() is the "old school" way of getting > memory dynamically. they're taught that malloc() may not be present in > all implementations of the C library. again, because calloc() is "old > school". presumably, malloc() is ... new fangled. ;) > > actually, both people used the words "old school", so i'm assuming > that's some kind of quote by the professor. > > just for my own self-edification, does anyone know anything about this > "old school" and "new school" business? i've never heard of it before. > > pete > _______________________________________________ > vox-tech mailing list > [EMAIL PROTECTED] > http://lists.lugod.org/mailman/listinfo/vox-tech _______________________________________________ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech