Apparantly, fgetc(file) will return an occurance of consecutive CR + LF as LF, discarding the CR. Since I am trying to make a file compression program I'd rather get byte by byte, without any exceptions. How can this be worked around?
Sorry, but you'll have to give me much more information on that. How do I open a file as binary as you say? I figured out some code via google, but the compiler does not like it: