A pointer to base classI read your reply - gonna read up on design patterns right now :) [quote]With references, they alwa...
using private variable of a class@TheIdeasMan: yeah, you're right. I hadn't thought of a ctor together with a print function, that's ...
using private variable of a classNo, it isn't the right way, since you get an error :) It's theoretically impossible to access a cla...
A pointer to base class[quote]A pointer to base class, if assigned to a derived class, only points to the base part right? ...
system( ) not workingYou should #include <cstdlib> . Then you can use std::system() (or add [code]using namespace std;[/c...