Mail Archives: djgpp/1998/09/03/08:09:04
Reply-To: | <arfa AT clara DOT net>
|
From: | "Arthur" <arfa AT clara DOT net>
|
To: | "DJGPP Mailing List" <djgpp AT delorie DOT com>
|
Subject: | RE: Moving variable down in class fixes crash...
|
Date: | Thu, 3 Sep 1998 13:08:16 +0100
|
Message-ID: | <000101bdd733$8863fcc0$734e08c3@arfa>
|
MIME-Version: | 1.0
|
In-Reply-To: | <35EE4E1A.5EAD70B5@geocities.com>
|
Importance: | Normal
|
> Hi,
>
> I have this simple class:
>
> class::sprite {
> public:
> long x,y;
> long type;
> BITMAP *frame; // yep, i'm using allegro 8-)
> // and some more stuff below..
> }
>
> Before I added the "long type" everything was fine but now the program
> crashes. However, if I move the "long type" below the "BITMAP *frame"
> everything's working again. Why is this?
Is you class realy called "class"? Doesn't that have any implications?
James Arthur
jaa AT arfa DOT clara DOT net
ICQ#15054819
- Raw text -