Zulfi Khan
April 22nd, 1999, 07:33 AM
I have written a prog. in which I have public data members in the View class. I have created a dialog box. I want to use public data members of View class in the implementation file (*.cpp) of dialog class. I have included the header file of view class. I am getting following error:
*View.h error C2501: 'GetDocument": missing decl-specifiers "
If I dont include the header file of view class then the above error is removed but the error of undefined variables remains their.
The error is comming in *View.h file at following point:
public:
CStudentDoc* GetDocument();
*View.h error C2501: 'GetDocument": missing decl-specifiers "
If I dont include the header file of view class then the above error is removed but the error of undefined variables remains their.
The error is comming in *View.h file at following point:
public:
CStudentDoc* GetDocument();