Hi, i got a destructor for a class Base1.
my syntax/format is wrong. can some-one correct it for me?
Thanks,Code:Base1::virtual ~Base1() { cout << "Destroy Base" << endl; }
Hi, i got a destructor for a class Base1.
my syntax/format is wrong. can some-one correct it for me?
Thanks,Code:Base1::virtual ~Base1() { cout << "Destroy Base" << endl; }