S
S
Sergey Polyntsev2014-10-12 19:06:27
Programming
Sergey Polyntsev, 2014-10-12 19:06:27

How to read from a file character by character?

Hello! I try to read the file character by character, I check the end of the file using file.eof(), but the reading does not go to the end of the file, it breaks in the middle. How to avoid this and read the entire file. The file may not necessarily contain text. Let's say I'm reading *.exe file.
C# language.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Taratin, 2014-10-12
@Taraflex

Well, you would at least show how you read the files.

D
Daniil Kolesnichenko, 2016-11-09
@KolesnichenkoDS

In the console, pythonyou need to write python3.

I
Igor Nikolaev, 2016-11-09
@nightvich

Use update-alternatives
https://linuxconfig.org/how-to-change-from-default...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question