Class inheritance - overloaded

Started by
0 comments, last by Leadorn 21 years ago
Hi Look at the following code, is it possible to call f(char h) from a funktion in chello? Becouse i get error, it cant find the f(char h) function in cbase
  
class cbase
{
public:
bool f(char h);

};

class chello : public cbase 
{
public:
bool f(int h);
bool f(double h);

};
  
Advertisement
Inside one of chello functions, try cbase::f(yourChar);
I hate signatures.

This topic is closed to new replies.

Advertisement