Hi,
I Have a text file which has a lot of lines,I want to extract the first 3 lines of the file(Which are integers) and assign them to 3 different int variables, and from the 4th line i need to put the values all the way till the end of the file in to an array.
I dunno hoe to do it using fscanf i.e how to keep track of how many lines of the file has the program navigated and how to assign the values of the file based on the line to different variables. please help?