12.04.2016, 17:34
I don't see why it doesn't work.
Are you using the windows editor to create the file or WordPad? The Editor does only use \r and depending on the settings it may be read as one whole line. Try to either remove one fread (for testing) or save the file correctly with WordPad.
Are you using the windows editor to create the file or WordPad? The Editor does only use \r and depending on the settings it may be read as one whole line. Try to either remove one fread (for testing) or save the file correctly with WordPad.