C++: Class Inheritance sytanx error (Easy)
http://www.rafb.net/paste/results/BNBZBb36.html
I'm simply testing and using the sytnax for class inheritance and didn't expect any errors. However, the two derived functions (UnderAge and Adult) doesn't seem to inherit its base class (Client).
The compiler has listed 10 errors, all of them being similar: The members, inherited from the base class, are not members of the base class; the compiler isn't recognizing the derived classes as a derived class!
Is there a subtle syntax I might've left out?
EDIT: Disregard the fact that I did not add in the <iostream> in, that's simply a copy/paste error :p