c++ code layout