Thread: compiling error
View Single Post
Old Oct 27th, 2006, 2:17 AM   #13
The Dark
Expert Programmer
 
Join Date: Jun 2005
Posts: 852
Rep Power: 4 The Dark is on a distinguished road
Oh well, if you edit your post, I'll edit mine.

You still have this in class Screen
//friend class Rectangle;
This need to be uncommented, it doesn't do anything while commented out.

With this code in Rectangle:draw:
                 object.pixels[x1][y1]; // you said it does not make sense
What do you want this line to do? It is not assigning anything, and it is not testing anything. I assume you want something like:
                 object.pixels[x1][y1] = 'x';

Last edited by The Dark; Oct 27th, 2006 at 2:29 AM. Reason: Parent Post Changed
The Dark is offline   Reply With Quote