0

Please comment this code for me

class Mother { public: Mother() { cout <<"Mother ctor"<<endl; } ~Mother() { cout <<"Mother dtor"<<endl; } };

15th Nov 2016, 11:32 AM
Faminan Tioro
Faminan Tioro - avatar
1 ответ
0
It's a constructor that print "Mother ctor" on instanciation of this class It's a destructor that print "Mother dtor" on deletion of this class
15th Nov 2016, 4:07 PM
Maxime
Maxime - avatar