0
What are Destructors?
I've just reached the 66% mark in C++ and there are some things that I still don't understand. As things go on, it's getting more and more confusing. I'm pausing for now until I figure this out.
1 ответ
+ 2
I think you are talking about destructors. These are similar to constructors which are called when an instance of class is created but destructors are called when an instance is destroyed either using delete or once the instance created goes out of scope.