I need to open a text document and read it's data. One of the data points in this file is an int that I need to use to create a data structure.
Question: Once I open a file passed in from the command line with fscanf() can I read the file again with fscanf() or another stream reading function? I have tried do this by calling fscanf() then fgetc() but I find that the one I call first is the only one that runs.