Interview questions often ask about virtual destructors and why they are needed. It’s one of those funny things about C++ that unless you have specifically been shown, you just might not realise you need to know. So why do you need a virtual destructor? Essentially, you need a virtual destructor to make sure that ALL […]
In a NutshellI write handy little guides to GDB, C and C++, and occasionally some Linux stuff for fun.