Mail Archives: djgpp/1999/01/10/18:20:40
From: | Konstanty <M DOT Bialkowski AT mailbox DOT uq DOT edu DOT au>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Problems with classes (and arrays)
|
Date: | Mon, 11 Jan 1999 09:04:55 +1000
|
Organization: | University of Queensland
|
Lines: | 17
|
Message-ID: | <36993217.51406B14@mailbox.uq.edu.au>
|
NNTP-Posting-Host: | csmbialk.staff.uq.edu.au
|
Mime-Version: | 1.0
|
X-Mailer: | Mozilla 4.5 [en] (Win95; I)
|
X-Accept-Language: | en,pl
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
I am in the process of making a game.
I have a toolbar class (an array of button boundaries) and a map class
(basically a 2d array).
A few days ago when I ran my program, when writting to the map array the
toolbar array was changed, making the toolbar buttons totally stuff up.
I went into the code to debug it, and found that the toolbar class
remained uncorrupted until the map array was changed.
How do I fix this? Is this something to do with my code?
Thanks for your help in advance,
Konstanty
- Raw text -