jeffw362 17 Newbie Poster

I'm using fgets not scanf. I get a line from the file and then use strtok to split the line. Then I use a switch statement to assign the values to the members of my struct.

WaltP commented: Good. fgets() is the right way to do it... +17