sscanf did read everything correctly, it's just that you only gave 10 characters for dateSize. You have a 10 character date, but it needed to put a null in the 11th spot, which would be the first...
Type: Posts; User: anduril462
sscanf did read everything correctly, it's just that you only gave 10 characters for dateSize. You have a 10 character date, but it needed to put a null in the 11th spot, which would be the first...
My guess is the your print function:
void print(tData input)
{
printf("@%s %s %s %s\n", input->name, input->date, input->time, input->msg);
}
You pass in a tData structure, but use the...