I am reading a binary file. and when he reaches the end. it seems to be interrupted by the feof () function. Is it because there is no EOF character for binaries? if so, how can I solve it.
Currently my code uses a while loop
while (!feof(f))
when it reaches the end of the file at position 5526900. it does not stop. he is just trying to read, and I'm stuck in a loop.
can someone tell me why and how to solve it.
thank
feof() - fread() - , . , . Feof() EOF , , .
, , feof() ( eof() ++) , , , .
Source: https://habr.com/ru/post/1753186/More articles:Gate Named Entity with ANNIE using IKVM in .net - c # -4.0Log4Perl bundles logging from multiple programs into a single log - perlOpening jquery dialog in main iframe - jqueryJPA Embedded Collection - javahttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1753185/objective-c-setting-autoreleased-objects-to-nil&usg=ALkJrhhnQUv45COpWq5OkDcxJ13KziEj4gINNER JOIN: limit 0.1 in the second table - inner-joinΠΠ½Π°Π»ΠΈΠ· Π΄Π°Π½Π½ΡΡ IBM 3270 Π² Java - javaHow to determine the placeholder used? - powerpointhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1753190/tcpclient-seems-to-not-maintain-a-keep-alive-connection-why&usg=ALkJrhjMN8K_UBNH-eFWGFfoKKSDq8thFwPHP structures with AJAX linings? - ajaxAll Articles