written a C++ cheatsheet