Please, give me suggestions!
I am a student of Visual C++. I have a problem in chapter 13 of Ivor Horton's Beginning Visual C++ 2005.
I have created MDI Application using the MFC Application Wizards guided as in the book. I added Menus and Toolbars guided as in the book. I added all the codes by following the book. But at page no. 696 there comes errors while running the extended examples.
The errors are:
1. sketcherdoc.cpp: error C2011: 'CSketcherDoc': 'class' type redefinition
2. sketcher.h: see declearation of 'CSketcherDoc'
3. sketcherdoc.cpp: error C2027: use of undefined type 'CSketcherDoc'
Please, advise me if you could.
MPandey
|