Reply-To: From: "Arthur" To: "DJGPP Mailing List" 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 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit In-Reply-To: <35EE4E1A.5EAD70B5@geocities.com> Importance: Normal Precedence: bulk > 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