Original Post
Hi I'm at my wits end with this problem. Put simply, I have a load of classes in source and header files. What I am finding on multiple occasions is I declare a class in a .h, and one of its variables is another class. No problem, right?? I make sure to include the .h of the class I will use, and create a variable for it, e.g #include "Node.h" ... class PlayerManager { public: ........ private: Node *m_node; }; When I compile it I get the error: error C2143: syntax error : missing ';' before '*' on the line where I declare m_node. but WHY????? I'm sure that there must be a simple answer, but I can't see it. HELP ME