Write C++ tips