demo codes for c++ learning.