this is a project for c++ study, do some experiments based on c++ primer Version.4 2013-1-20