I created two classes, a document one and a dialog one, I need to create a member variable that contains a pointer to the other class for both of them.
To do this i need to include the declaration file (.h)of a class into the (.h) of the other and viceversa, but here i must do something wrong, since when in the dialog class i declare

public:
CMyDoc* m_pMyDoc;

i get a syntax error : missing ';' before '*'

Please let me know
Thanks