Original Post
In my project I have two .cpp files:
- class_gameobject.cpp: a class is defined here
- main.cpp: the main file, where winmain is.
Now, I''ve included these two files into my project, and declared a gameobject object, guinea_peeg in main.cpp.
class_gameobject.cpp compiles fine, but main.cpp does not seem to recognise the class - it keeps throwing errors where guinea_peeg is declared.
I''ve obviously missed something, but since I''m still learning on my own, I would like some guidance. Can NE1 help?
"Sweetie! Get Mommy''s bazooka!"