I know how to read input from a file, and I know how to use a strtok
to read user input, but how would I go about combining the two?
For example, I want to read the following two lines from a text file:
00003, 3342, 54329
02425, 4323, 43255
Storing 00003, 3342, 54329, 02425, 4323, 43255 as separate variables.