To practice C++