View Single Post
Old Sep 26th, 2005, 7:25 PM   #3
Animatronic
Programmer
 
Join Date: Jun 2005
Posts: 99
Rep Power: 4 Animatronic is on a distinguished road
I dont know where you've seen *int but in C (and C++) it should be int*, whether you are casting to or declaring an int pointer.

If you are using a C compiler and you have included stdlib.h, there is no need to cast the result from malloc() (calloc,realloc,...), infact it can cover up serious bugs (see here for more info).
Animatronic is offline   Reply With Quote