C++ cheatsheet