Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 9th, 2013, 11:48 AM
Registered User
 
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?

david





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 05:10 PM
Derived Interfaces synack C# 2008 aka C# 3.0 1 October 31st, 2009 05: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 08:21 AM
Not a ReportDocument derived class error AnotherUser BOOK: Professional Crystal Reports for VS.NET 0 March 9th, 2004 01:41 PM





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