I seem to be unable to use a base class as a function parameter, have I messed up my inheritance?
I have the following in my main:
int some_ftn(Foo
By default, inheritance is private. You have to explicitly use public:
public
class Bar : public Foo