I’ve got some code executing in a while(fscanf != EOF) loop.
However, even when fscanf has finished executing, I need to keep running that code until some conditions are met.
I mean I guess I could copy/paste the code to outside the while(fscanf) loop, and only use global variables, but that seems messy. Surely someone has encountered something like this before and has a cleaner solution.
I’ve got some code executing in a while(fscanf != EOF) loop. However, even when
Share
Couldn’t you just modify the
whilecondition to account for these additional conditions?