My C++ coding