the log of my c++ learning