some experiment of c++ programming