Reading Lines (c in linux)
I have a text file with this kind of input.
Can somebody help me start on how I will read the first line only where the first number
signifies the number of questions, then the next one will be the correct answer.
the second line is the ID No and the answer of that person and compare it?
I know I have to make a struct for the 2nd line and the succeeding lines, but how can I skip the first line?
how can I also check each and every character using char?
Re: Reading Lines (c in linux)
You can write a Parse line fumnction which reads each line from file.
|All times are GMT +5.5. The time now is 05:34.|