從檔案讀取字串: ifstream ... TXT"); while(infile) { // 從檔案讀資料 infile.getline( buffer,MAX); cout
www.ncu.edu.tw