What are some C++ related idioms, misconceptions, and gotchas that you\'ve learnt from experience?
An example:
class A { public: char s[1024]; cha
Since I learned about RAII (one of the worst acronyms ever) and smart pointer, memory and resource leaks have almost completely disappeared.