question. I'm trying to read in a line from a file in the form
January 5 1 4 5 7 14
April 7 4 55 67 54 23 8 99
the above means that the first part is a string and the first number tells how much numbers comes after it. So january has 5 numbers that comes after it and april has 7 numbers that comes after it.
My question is that being that the amount of data per line will be different, how would i go about coding something like this.
I was thinking of using fgets to get the entire line but i need to address each individual and then assign them to something inside my program?