Message-ID: From: Shawn Hargreaves To: djgpp AT delorie DOT com Subject: Re: constructors + djgpp/allegro Date: Thu, 5 Mar 1998 10:00:35 -0000 MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk Dan writes: > myship(int newX, int newY) > { > x = newX; > y = newY; > image = (BITMAP*)data[myship].dat; > } > } When you refer to data[myship].dat, I presume the is one of the object identifiers defined in your grabber header file? If so, you can't also have a class called myship, because this has been #defined to something else. If this doesn't explain your problem, try to isolate the smallest possible complete code example that demonstrates the problem (something that we can actually compile and run). Shawn Hargreaves.