Save Some Small C++ code