The difference between Structs and Classes isn't about data vs. code: it's about what happens when you move the data around. And sometimes you want a Struct, not a Class. Many times, when you create a ...
I'm a Physics major at school, and they taught us a bit of C/C++ without really teaching us how to make good code. The question I have is it's common for us to have multiple objects that have similar ...
The C++ spec doesn't even require the implementation to use a vtable AFAIK. With that behind, how hard is it to dump the binary representation of a class and figure out where the pointer is? A simple ...