Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Ivor Horton's Beginning Visual C++ 2010
This is the forum to discuss the Wrox book Ivor Horton's Beginning Visual C++ 2010 by Ivor Horton; ISBN: 9780470500880
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Ivor Horton's Beginning Visual C++ 2010 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 Display Modes
  #1 (permalink)  
Old January 9th, 2013, 11:48 AM
Registered User
Points: 54, Level: 1
Points: 54, Level: 1 Points: 54, Level: 1 Points: 54, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jan 2013
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
Default derived class constructor

i think horton on pg569 -- see NOTE -- may have missed the fact that a call to the derived class constructor or copy constructor calls the base class constructor before dropping into the derived class constructor.

his statement " ...you are responsible for the initialization of all members of the derived class object, including all its inherited members

this makes sence in that before the derived class constructor is called the base class must be put into a sane state.

am i missing something?


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
p248: Calling a private constructor using a derived class dezadez BOOK: Beginning Visual C# 2010 3 September 9th, 2011 06:10 PM
Derived Interfaces synack C# 2008 aka C# 3.0 1 October 31st, 2009 06:36 AM
Derived Field debbiecoates Beginning VB 6 2 February 20th, 2008 06:58 AM
Not a ReportDocument derived class chokk Crystal Reports 0 May 10th, 2006 09:21 AM
Not a ReportDocument derived class error AnotherUser BOOK: Professional Crystal Reports for VS.NET 0 March 9th, 2004 01:41 PM

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

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