Hiya!
Curious enough to know what are the definiton or differences between derived, base and/or public classes?
cj
This is a discussion on whats is the definitions? within the C++ Programming forums, part of the General Programming Boards category; Hiya! Curious enough to know what are the definiton or differences between derived, base and/or public classes? cj...
Hiya!
Curious enough to know what are the definiton or differences between derived, base and/or public classes?
cj
"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
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 :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi