practice different aspect of c++ language