Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(i=0; i<ROWS; i++)
- {
- fgets(LineIn, 500, stdin);
- table[i] = calloc(COLUMNS, sizeof(char*));
- for(j=0; j<COLUMNS; j++)
- {
- table[i][j] = calloc(MAX_STRING_SIZE, sizeof(char));
- }
- sscanf(LineIn, "%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s",table[i][0], table[i][1], table[i][2], table[i][3], table[i][4], table[i][5], table[i][6], table[i][7], table[i][8]);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement