C file size discrepency
问题 I am trying to learn C, and am currently working on a toy script. Right now, it simply opens a text file, reads it char by char, and spits it out onto the command line. I looked up how to see the size of a file (using fseek() and then ftell()), but the result it returns doesn't match up with the number I get from counting the characters in a while loop as I iterate through the file. I'm wondering if the discrepency is due to windows using \r\n and not just \n, since the discrepency seems to