Coder's Guild Mailing List

RE: calloc vs. malloc

Posted by Frank Hale on 2000-07-15

>Can you post a code snippet of the problem area?  The only difference that 
>I know of is that calloc initializes the allocated memory elements to 0 and 
>allows you to set the size of each element.  What compiler are you using?
>

The stupid thing seems to work today using either calloc or malloc. Go figure!!!

I must of had a bug somewhere else and fixed it! 

Ooh well, more testing and coding to do...

Frank



Get your FREE Email and Voicemail at Lycos Communications - http://comm.lycos.com