0

How destructor works in c++ ?

Hi.. I need to learn how destructor works in c++ and where to implement destructor .. And what is the advantages of using destructor ?

12th Jan 2017, 5:18 AM
Suman Dey
Suman Dey - avatar
1 Answer
+ 3
there is a section on constructors and deconstructors in the lessons provided here on solo learn. the are used to allocate and destroy resources used by your classes. but yes. read and go through the examples provided here in the app. they explain it very well
12th Jan 2017, 6:23 AM
jay
jay - avatar