C string : 基本上就是一個character array,會在最後加上'\0'。 ... while (!inFile.eof()) // eof = end of line { string name; getline(inFile, name, ...
確定! 回上一頁