Quick Question

This is a discussion on Quick Question within the C++ Programming forums, part of the General Programming Boards category; I am not understanding this question. Can someone clarify this a little bit please. A distructor of a derived class ...

  1. #1
    Still A Registered User DISGUISED's Avatar
    Join Date
    Aug 2001
    Posts
    499

    Quick Question

    I am not understanding this question. Can someone clarify this a little bit please.

    A distructor of a derived class should call the base class distructor as for the constructor function? T or F

    ummm....HuH? I am attempting to prepare for an exam...this isn't helping

  2. #2
    UNBANNED OneStiffRod's Avatar
    Join Date
    Jan 2002
    Posts
    669
    Could you post the actual English version of the question word for word for us?

    "as for the constructor" baffles me as it appears to be not properly worded.
    My Avatar says: "Stay in School"

    Rocco is the Boy!
    "SHUT YOUR LIPS..."

  3. #3
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,136
    True

    First the derived destructor is called then the base class desctructor. THe opposite is true for constructors.

  4. #4
    Still A Registered User DISGUISED's Avatar
    Join Date
    Aug 2001
    Posts
    499
    >>Could you post the actual English version of the question word for word for us? <<

    That is the question word for word. Even the misspelling. I am American ya know LoL, but my professor is not. Now you see my problem

    Thanks for the explanation, I think I got it now. I had no clue what the question was even asking

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Very quick math question
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 10-26-2005, 11:05 PM
  2. very quick question.
    By Unregistered in forum C++ Programming
    Replies: 7
    Last Post: 07-24-2002, 03:48 AM
  3. quick question
    By Unregistered in forum C++ Programming
    Replies: 5
    Last Post: 07-22-2002, 04:44 AM
  4. Quick Question Regarding Pointers
    By charash in forum C++ Programming
    Replies: 4
    Last Post: 05-04-2002, 11:04 AM
  5. Quick question: exit();
    By Cheeze-It in forum C Programming
    Replies: 6
    Last Post: 08-15-2001, 05:46 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21