how can i stop reading from a file?

Alright I just wrote

   while (fscanf(fp, "%d %d", &x[i],&y[i]) != EOF)
   printf("%d x  , %d y \n",x[i],y[i]);

instead of everything and it works.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top