Message from C, C++ discussions

December 2019

— User Mohsin has 1/2 warnings; be careful!
The latest warn was because:


I have problem with reading file,
I use this code to show details of file into prompt but it doesn't shows all the information in file.
I don't know because what?
Please help me...

— Because you read one line in the while loop

— Then you display the next one

— Then the while loop eats another line

— And you display the 4th line

— Try use desktop version of telegram. This helps in life to send screenshots)

— ^ also that

— I haven't

— K

— OK , now what to do?

— Fix it