XP is just a number | |
PerlMonks |
Re: Re: C vs perlby meonkeys (Chaplain) |
on Apr 28, 2002 at 18:45 UTC ( [id://162696]=note: print w/replies, xml ) | Need Help?? |
++broquaint (after fixes, of course). A mighty phat response. One question since I am still learning C... when you do
Are ret[0], ret[1], ret[2], ... ret[n] all set to '\0'? My manual for malloc() says "The memory is not cleared", but in my debugger it looks like all these values are zero. Also, I don't think you need to cast malloc(). In fact, it might hide errors. --- "A Jedi uses the Force for knowledge and defense, never for attack."
In Section
Seekers of Perl Wisdom
|
|