I used the macro that's a part of the visual c++ 6 environment for creating member variables and named the class type and specified it as private. The book I am learning the material from instructed me to include a similar name as the class type in #include "" statement of the main cpp program and I followed those instructions accordingly. When I compile the application I get errors in the header file for the main application involving the new member variable declaration and class type.
private:
CPaintDlg m_dlgPaint;
Errors include : missing (;) before m_dlgPaint identifier
missing storage class specifiers
If anyone knows anything about this I would be grateful.
Jim
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only