0
Please comment this code for me
class Mother { public: Mother() { cout <<"Mother ctor"<<endl; } ~Mother() { cout <<"Mother dtor"<<endl; } };
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