7
Tôi có thể gọi hàm ảo của lớp cơ sở nếu tôi ghi đè lên nó không?
Nói rằng tôi có các lớp học Foovà Barthiết lập như thế này: class Foo { public: int x; virtual void printStuff() { std::cout << x << std::endl; } }; class Bar : public Foo { public: int y; void printStuff() { // I would like to call Foo.printStuff() here... …