.eof() returns true only when you try to read past the end of the file. Try this instead: Code: [View]. while(getline(inputFile ...
確定! 回上一頁