virtual tag

6 questions


1 answers
176 views
0
How to Create an Interface

How do I set up a class that represents the interface?Can I just write an abstract class?


1 answers
129 views
0
Why do you use the virtual method?

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?


1 answers
142 views
0
Differences between virtual functions and pure virtual functions

How are virtual functions different from pure virtual functions?Please tell me what it means to use the two

2 years ago

1 answers
176 views
0
When is a virtual constructor used?

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...

2 years ago

2 answers
118 views
0
Can you copy the Linux server itself so that it can return to the same environment on the local virtual machine?

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?

2 years ago

2 answers
106 views
0
Detach header file during c++ override

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...

2 years ago

© 2024 OneMinuteCode. All rights reserved.