Learn Finance C++, Lesson 32, Interlude for Deconstructor

preview_player
Показать описание
Sometimes, when an object is destroyed, we want to run one last operation. We can do this with a special kind of 'anti-constructor', called a Destructor. We describe how to create an explicit destructor in this lesson.

Finished code blocks:

Рекомендации по теме