Practicing c++