Thread: file read
View Single Post
Old 14th June 2018, 21:38
hklett's Avatar
hklett hklett is offline
Join Date: May 2002
Posts: 55
hklett is on a distinguished road
if you are at end of the file, the buffer will left unchanged.
Your loop have to be
while,size,fp) = 0
Reply With Quote