C++µÄÄÇЩÊ£ºÁ÷ÓëIOÀà(Èý)

2014-11-24 12:41:39 ¡¤ ×÷Õß: ¡¤ ä¯ÀÀ: 4
<< cnt;
49
50 if( mark != endMark) inOut << " ";
51 inOut.seekg(mark); //restore read position
52 }
53 inOut.clear(); //clear flags in case we hit an error
54 inOut.seekp(0 , fstream::end); //seek to end
55 inOut << endl; //write a newline at end of file
56
57 return 0;