Thread: whats is the definitions?

  1. #1
    TransparentMember correlcj's Avatar
    Join Date
    Jun 2002

    Question whats is the definitions?

    Curious enough to know what are the definiton or differences between derived, base and/or public classes?
    "Be formless, shapeless, like water... You put water into a cup, it becomes the cup, you put water into a bottle, it becomes the bottle, you put it in a teapot, it becomes the teapot... Now water can flow, or it can crash, be water my friend."
    -Bruce Lee

  2. #2
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    A base class is a class that has been designed to be inherited from. It should have virtual functions, some pure, and a virtual destructor as a minimum.
    A derived class is a class that has inherited from a base class. It may in turn also be a base class for a derived class further down the hierarchy.
    A public class is something ive never heard of. I reckon you mean the public part of a class which is just the class interface to outside clients.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :-

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 05-24-2009, 02:42 AM
  2. need help with FIFO QueueItem member definitions
    By jackfraust in forum C++ Programming
    Replies: 15
    Last Post: 02-26-2009, 06:48 PM
  3. Replies: 7
    Last Post: 11-17-2008, 01:00 PM
  4. Replies: 1
    Last Post: 05-05-2006, 11:46 PM
  5. help writing function definitions
    By jlmac2001 in forum C++ Programming
    Replies: 2
    Last Post: 04-10-2003, 09:44 PM