Код: Выделить всё
class Base {
public:
virtual void print(int one) {
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79611364/why-do-i-have-to-override-all-functions-with-the-same-name[/url]Код: Выделить всё
class Base {
public:
virtual void print(int one) {
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79611364/why-do-i-have-to-override-all-functions-with-the-same-name[/url]