Hello everyone! I'm new to C and its been about a year since I took C++. I have a question concerning the proper syntax for reading input from a data file. This is what I have:
while ( ( fscanf(inputptr, "%c, %s, %s, %d, %i\n", &action, name, town, &rain, &temperature ) ) != EOF
I would appreciate any assistance.