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. :)
jaepi
22
Practically a Master Poster
Recommended Answers
Jump to PostThat 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 usingA cue file is a text file, no? Why are you using fread() instead of something like fgets()?
All 3 Replies
Duoas
1,025
Postaholic
Featured Poster
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
ithelp
757
Posting Virtuoso
Banned
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.