started ex.4 c++