-
CLear Screen Routine
I have created a function to clear my screen in between displaying various menus within a program. I am not sure how to have the cursor position back at the top of the screen for displaying the next menu after selecting the option to transfer to the new one. Is there an easier way to clear the screen or can I use the code I have and add something to reposition the cursor. (I am including the code I have to clear the screen in case anyone wants to look at it).
int Counter;
void CLR_Screen()
{
for (Counter = 0; Counter < 100; Counter++)
{
printf("\n");
}
}
-
The FAQ will give you more detail concerning this issue than you probably want.
-
-
Clear Screen Routine
I guess I should have checked there first. Thanks for your help.
-
Try out my library
Hey why don't you try my console library at my web site its called Conumb it is for both VC and DevC++ My Homepage