Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Re: Re: C vs perlby h.toothrot (Initiate) |
on Apr 29, 2002 at 10:33 UTC ( [id://162799]=note: print w/replies, xml ) | Need Help?? |
Also, I don't think you need to cast malloc(). In fact, it might hide errors. The type of malloc is void*, I think I remember a compiler telling me that char* is not the same as void*. Consequently I had to cast malloc to char*.
In Section
Seekers of Perl Wisdom
|
|