practice C/C++ 1