Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++ 2005
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Visual C++ 2005 For discussion of Visual C++ 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ 2005 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old September 27th, 2009, 07:19 AM
Registered User
 
Join Date: Feb 2009
Posts: 5
Thanks: 2
Thanked 0 Times in 0 Posts
Unhappy 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
Reply With Quote
  #2 (permalink)  
Old November 26th, 2009, 01:39 AM
Registered User
 
Join Date: Nov 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Mpandey View Post
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
without your project ,no one can answer your question
Reply With Quote
  #3 (permalink)  
Old March 30th, 2011, 07:23 AM
Registered User
 
Join Date: Dec 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by ja_jerry View Post
without your project ,no one can answer your question
But I think I can :D
Post your question on following link

BOOK: Ivor Horton's Beginning Visual C++ 2005

mean-while I check what is the problem
__________________
I thought may be some one will visit here in need of solution.

Regards
KFateh
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
need your suggestions vic62 Joomla! 1 January 9th, 2009 12:33 AM
any suggestions? Acar BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 May 27th, 2008 07:19 AM
All suggestions are welcome! Wooger Other Programming Languages 0 September 24th, 2007 09:47 AM
I Need Some Suggestions??? hunzian78@yahoo.com ASP.NET 2.0 Professional 0 November 8th, 2006 01:14 AM
Some suggestions richard.york Forum and Wrox.com Feedback 0 October 13th, 2003 01:45 AM



All times are GMT -4. The time now is 12:21 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.