Commit c3bfddceeebc80b76324a9a204df12451b025822

Authored by jdequidt
1 parent 7c604e5e

🛠 fix du fichier exemple pour qu'il soit plus compréhensible

Showing 1 changed file with 7 additions and 2 deletions   Show diff stats
src/csv_reader.c
... ... @@ -85,7 +85,12 @@ void read_csv_file(const char * filename)
85 85  
86 86 while (NULL != token)
87 87 {
88   - if (IS_DEBUG) printf("Field %d is %s\n", i++, token); // you can strcpy the `token` string in your data structures
  88 + if (IS_DEBUG) printf("Field %d is %s\n", i++, token);
  89 +
  90 + // ...
  91 + // you can strcpy the `token` string in your data structures
  92 + // ...
  93 +
89 94 token = strtok(NULL, CSV_DELIMITERS);
90 95 }
91 96 }
... ... @@ -114,4 +119,4 @@ int main(int argc, char * argv[])
114 119 free(CSV_HEADER_FIELDS);
115 120  
116 121 return 0;
117   -}
118 122 \ No newline at end of file
  123 +}
... ...