Message from C, C++ discussions

November 2019

— Any alternatives ?


This will not compile, why are you asking to debug?


— Actually there is no need to do this at all, but if you strictly need this, you can do what CLS does, manually, that is, output N empty lines where N = number of lines in a terminal, at maximum

Message permanent page

— ...okay eliminate any errors/include what i have to

— I will not do this, do it yourself

— Hometasks must be done individually, they are for this.

— One more question: can i access base-class-only member functions using base class pointer that's pointing to a derived class object?

Message permanent page

— Its fine

— What is "base-class-only member functions" ?

In general, yes, you can, but the answer can change based on your detalisation.

Message permanent page

— Base-class-only member functions are declared in the base class and are not overridden by derived class member functions. answer?

Message permanent page

— Yes you can.

— This is not base-class-only methods, because any child can use them.