> I made up a 655MB text file, with at least 3 bad chars on each line of text, and 1,491,006 lines of CSV's.
@Adak - How did you make your test file? Just random text with some "bad" chars thrown...
Type: Posts; User: fnprintf
> I made up a 655MB text file, with at least 3 bad chars on each line of text, and 1,491,006 lines of CSV's.
@Adak - How did you make your test file? Just random text with some "bad" chars thrown...
Here's a way I did it using built in string.h functions. Not sure about the performance, don't have any large csv files.
iMalc code looks better.
#include <stdio.h>
#include <string.h>
...