edited the content of learning c++ part3