多娜多娜昂埃皮克
C++ polymorphism and slicing
The following code, prints out Derived Base Base But I need every Derived object put into User::items, call its own print function, but not the base class one. Can I achieve that without using poin[详细]
2022-12-25 09:13 分类:问答