practicing c and c++