0

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. :)

4
Contributors
3
Replies
4
Views
9 Years
Discussion Span
Last Post by ithelp
0

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()?

0

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?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.