int *MAP;
unsigned int mapsize;
mapsize = (width * height * layers) * 4; // this is ok, i checked...contains 960
MAP = (int *)malloc(mapsize * sizeof(int));
Now, when I display sizeof(MAP) it *always* returns 4 bytes!
No matter what, MAP is always 4 bytes...
Anoyone know what I am doing wrong?
BTW, I am using Borland C++ Builder if that helps.
Thanks!
-Coleco
~ c o l ec o ~
Rock the cradle of love! You stupid WANKER! S i g n a l D E V .com --HASBRO SUCKS--