Notices
Results 1 to 2 of 2

Thread: Calling Base Class Constructors from Derived Class c++

  1. #1 Calling Base Class Constructors from Derived Class c++ 
    Forum Freshman
    Join Date
    Oct 2012
    Posts
    18
    Hey Guys,

    I'm having some difficulties in understanding the topic which I stated above.Can anyone here provide some good examples and references which will help me in future.

    Thanks.


    Reply With Quote  
     

  2.  
     

  3. #2  
    Forum Freshman
    Join Date
    Oct 2010
    Posts
    98
    In short you have to use a thing called 'initialization list'.

    See this link for example: Initialization Lists in C++ - Cprogramming.com


    Reply With Quote  
     

Similar Threads

  1. Class Clown Becomes Scientist
    By HectorDecimal in forum Introductions
    Replies: 77
    Last Post: March 2nd, 2012, 04:38 PM
  2. Help me decide what class I should take?
    By elegance in forum Computer Science
    Replies: 2
    Last Post: November 7th, 2010, 07:51 AM
  3. Science class...What do u think?
    By ceire in forum General Discussion
    Replies: 7
    Last Post: July 19th, 2009, 12:59 PM
  4. taxonomic class
    By godspanther in forum Biology
    Replies: 3
    Last Post: May 18th, 2009, 12:52 AM
  5. class system
    By Kenny Klassen in forum Biology
    Replies: 23
    Last Post: April 11th, 2008, 07:10 PM
Bookmarks
Bookmarks
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •