Practice on C++