sync
This commit is contained in:
parent
37427feb04
commit
9c7c9012a0
@ -24,7 +24,15 @@ struct Games
|
||||
|
||||
void parse_game_data(char *line, struct Games games)
|
||||
{
|
||||
printf("%s\n", line);
|
||||
// printf("%s\n", line);
|
||||
char *token;
|
||||
const char delim[2] = ";";
|
||||
token = strtok(line, delim);
|
||||
printf("First token is: %s\n", token);
|
||||
char *token2;
|
||||
const char delim2[2] = ",";
|
||||
token2 = strtok(token, delim2);
|
||||
printf("Second token is: %s\n", token2);
|
||||
struct Game tmpGame;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user