matches the %s to the address of the std::string member called name of the struct timeTableItem.
I am not gonna give you the direct answer/solution (that's for you to figure out), so here is a visual help. When you want to store a string using fscanf, you will normally do the following:
1 2
char cstr[64];
fscanf(fp, "%s", cstr); // make sure that whatever is scanned will fit cstr.
Hint: It is possible to obtain the address of the first character of std::string class so it can be used with fscanf().