One point I can see is that there is no constructor and destructor in both cat and dog classes so that we should add them back. Moreover, the cat destructor should be made virtual as well.
...
Type: Posts; User: miss_muichu
One point I can see is that there is no constructor and destructor in both cat and dog classes so that we should add them back. Moreover, the cat destructor should be made virtual as well.
...
Dear all,
I have got a difficult question to point out all the problems in the following C++ header code segments. Could any C++ expert please 'enlight' me?
Thanks a lot,
miss muichu
...