Hi,
Just wondering why the syntax for virtual functions uses a const before the curly braces, as below:
virtual void print(int chw, int dus) const;
Incidentally, the code doesnt seem to work without the const, which is interesting.. not sure why?
many thanks!