Then how do you check if the file was read correctly, i.e. if all the numbers were read correctly or not?
fin will fail and return null if it encounters an error or on end-of-file.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2283
Retired and Enjoying Life
Offline 21,963 posts
since Aug 2005