Error in using fscanf

This is a discussion on Error in using fscanf within the C Programming forums, part of the General Programming Boards category; Hello.
I'm trying to create a game and in that game, the AI that I will make should fill in ...

Error in using fscanf

Hello.
I'm trying to create a game and in that game, the AI that I will make should fill in his TURN file depending on the STATE file of both my AI and the opponent's. The server will provide these data. I'm trying to read the STATE file and put it into my struct

At first, I thought about making the parameters for the STATE file and TURN file included in structs.(Actually, I'm supposed to use it this way, lol)