Hello there, I have here a bit of confusion with fread. I have here a .cue file generated in windows. I tried to read through the entire file in windows and when I printed the buffer, it gives me the correct content of the file, but when I read it in linux, it skips one letter. Any ideas why? Thanks. :)

That does sound odd. Can you post:
1. an example of the file
2. examples of what you are seeing in windows and in linux
3. the code you are using

A cue file is a text file, no? Why are you using fread() instead of something like fgets()?

Hello there, I have here a bit of confusion with fread. I have here a .cue file generated in windows. I tried to read through the entire file in windows and when I printed the buffer, it gives me the correct content of the file, but when I read it in linux, it skips one letter. Any ideas why? Thanks. :)

First letter? Last letter? The 25th letter? 12th letter on line 4?
Did you read this?

apply dos2unix utility on the file and rerun the program.