Every ifstream object (in, in our example) has a member function that it can call named eof(). This stands for “end of file”, and the function will return false ...
確定! 回上一頁