I have a problem in reading from file.
I want the program to keep on reading from the file and store it in a buffer until \n\n is encountered.
Then I want it to input an integer value from the user and then when the user presses enter it should continue reading from the file until again \n\n is encountered or either it is the end of file.
Any help on how should I do it...