+ 2
explain the concept of eof() in file handling, how possible errors are dealt with in file handling in c++.
3 Respostas
0
End of file is when your input stream object can no longer read any input because nothing is there to read. Now if you reach the EOF a bit is set and the program knows that you reached the end, so its common to use the EOF function in a while loop to check if you are done reading the files contents.
0
hehe,I just won a challenge against you
0
hm😐