Original Post
Hi I am fairly new to C++ and wanted to make some shapes. I tried this code to make a rectangle but got 12 errors! int main () { class Shape { public: Move(int x, int y); SetColour(ColourType c); private: int xpos,ypos; ColourType colour; }; Shape::SetColour(ColourType c) { colour = c; } // terminate the program: return 0; } I put this into Draw1.cpp Any ideas of the correct code or which include files i may need. Thanks Mark.