My C++ learning codes