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++ > BOOK: Ivor Horton's Beginning Visual C++ 2005
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Ivor Horton's Beginning Visual C++ 2005
This is the forum to discuss the Wrox book Ivor Horton's Beginning Visual C++ 2005 by Ivor Horton; ISBN: 9780764571978
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Ivor Horton's Beginning 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
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 23rd, 2006, 04:10 AM
Authorized User
Join Date: May 2006
Location: Iver, Bucks., United Kingdom.
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default Defining Classes for Elements; page 734

To clarify my understanding of a few points:

a) Figure 14-15. The path in the '.h file' box points to ...\Elements.h and the '.cpp file' box points to ...\Elements.cpp (Where the '...\' will include the rest of the particular path to the files from the C: or D: drives, etc.)

b) Second paragraph, below Figure 14-15; 4th line:
I think that this should refer to figure 14-15 not Figure 14-14.

c)Second paragraph, below Figure 14-15; final sentence: ...'each with a constructor and virtual destructor.'

It appears that despite ticking the virtual destructor box, as indicated in Figure 14-15, for each definition, none of the subsequent destructors (CLine, CRectangle, CCircle or CCurve) have virtual destructors in Elements.h. Only the destructor in the definition of 'class CElement : public CObject' has virtual against it. (I have checked this with the code in Elements.h in '571974 Code from the book'.)


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
help with defining in the database derrida BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 0 April 14th, 2007 03:17 AM
Exist Finder classes to find elements into List? jeusdi .NET Framework 1.x 4 February 19th, 2007 01:31 PM
problem defining namespace for .aspx page pratik28 ASP.NET 2.0 Basics 0 October 26th, 2006 06:43 AM
Masked Elements; Page 815; Ch 15 Nick Y BOOK: Ivor Horton's Beginning Visual C++ 2005 0 July 24th, 2006 02:12 PM
Display web page elements all at the same moment karib HTML Code Clinic 3 October 10th, 2004 11:44 AM

All times are GMT -4. The time now is 08:31 AM.

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