On 5/29/2021 6:20 PM, R.Wieser wrote:
Christian,
You can see MSDN :
https://docs.microsoft.com/en-us/windows/win32/fileio/testing-for-the-end-of-a-file
Yeah, I found that too. The problem with it is that you *have to read data* to be able to detect there isn't any more of it.
IOW, if I want to mark the current full block of data as the last one I must have already read (some of) the next block able to determine the EOF status. And thats something I'd rather not do.
Regards,
Rudy Wieser
Maybe use streams and the "<<", ">>" operators. Then by reading your
previous posts buy K&R (ANSI C) and Strousstrup (The C++ programming
language) books. It will help you a lot.
holly
--
(__)
oo )
|_/\
My Software & Art company (donations are welcome) :
https://ko-fi.com/brandywine9
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)