Commit | Line | Data |
---|---|---|
1 | #include <stdio.h> | |
2 | ||
3 | int main(int argc, char *argv[]) { | |
4 | char filename[] = "test"; | |
5 | char *data[840]; //lines | |
6 | char line[29700]; //max line lenght | |
7 | ||
8 | FILE *fp; | |
9 | ||
10 | fp = fopen(filename, "rw"); | |
11 | while(!feof(fp)) { | |
12 | fgets(line, 29698, fp); | |
13 | //long int strtol(const char *nptr, char **endptr, int base); | |
14 | ||
15 | } | |
16 | ||
17 | } |