Hi Paolas
Your problem can be solved easily if you are writing into file by a fixed length array. Then what you have to do is that which ever line you have to read first set your file pointer to that position.
Like
chat arr[50];
FILE *fp = fopen(filename,"r");
fseek(fp,(sizeof(arr)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.