Mail Archives: djgpp/2000/08/25/09:05:48
Im having problems again. Heh heh, well let me explain. I am trying to
make a map array in memmory like so...
int Map[500][500]; //500x500 tile map
DJGPP exits to rhide and displays an error message Exit code 255:
0x00ff or somthing like that. Ive tried lots of different things but
none seem too work.
int *Map[500][500];
---
int Map[500][500];
int *MapPtr=Map[0][0];
--- Even...
int Map[500][500];
int *MapPtr;
MapPtr=Map;
None work for me, can someone tell me what the **** im doing? also, if
i wanted to reallocate an array later in the prog how would I do that?
And do I need to dallocate it at the end as well?
=====
~ Twisted Matrix (Founder of ULTRATECH)
URL: http://www.stas.net/ultratech
Yahoo ID: Homie_dont_play_dat, ICQ: 74628745
AOL im: TwistedMatrix
__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/
- Raw text -