delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/25/09:05:48

Message-ID: <20000825130411.28570.qmail@web511.mail.yahoo.com>
Date: Fri, 25 Aug 2000 06:04:11 -0700 (PDT)
From: Chris Amos <homie_dont_play_dat AT yahoo DOT com>
Subject: Help again. Heh dont you just hate newbies? <grin>
To: List DJGPP <djgpp AT delorie DOT com>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019