Practice of C++ programming