Original Post
I have this class: CGame, that has two objects CCLient. These CClients are member objects of the Game and are thus placed in the CGame header file. Now, I don''t want to include CClient.h in the CGame.h, but only in the .cpp file.
How do I pull this off? How do I make the CClient class known in the CGame header file?
It keeps complaining about "undefined classes".
Do I HAVE to include CCLient.h in the CGame header file? This might result in circular inclusion when the project grows (as I''ve encouneterd before, and isn''t particulary pretty)
TY