6 questions
How do I set up a class that represents the interface?Can I just write an abstract class?
I started learning C++Isn't the virtual method used by the child class to override the parent class's method?You can just override it. Why do you have to use the virtual keyword?
How are virtual functions different from pure virtual functions?Please tell me what it means to use the two
When is the virtual constructor used for C++?Virtual constructors seem to be a really useless feature, but I don't know when. Isn't superclass constructor called automatically when inherited? Why both...
As per title Can you copy the Linux server itself so that it can return to the same environment on the local virtual machine?How should I do it if I can?
I'd like to divide the header file into three classes that receive the override, one main class, and the main function.But maybe because of virtual, I don't know the criteria for dividing the header f...
© 2024 OneMinuteCode. All rights reserved.