MyUserID 0 #1 November 25, 2002 How do you clear the screen in a C program?? I have to do it on my homework, but it isnt even in the damn textbook . ------------------------------------------------------ Remember kids, eagles may soar, but at least weasels dont get sucked into jet engines. Quote Share this post Link to post Share on other sites
wlie 0 #2 November 25, 2002 Try system("cls"); This equivalent to typing "cls" while in DOS.My other ride is the relative wind. Quote Share this post Link to post Share on other sites
MyUserID 0 #3 November 25, 2002 ah, so simple, yet so helpful. THANX!! ------------------------------------------------------ Remember kids, eagles may soar, but at least weasels dont get sucked into jet engines. Quote Share this post Link to post Share on other sites
Chivo 0 #4 November 25, 2002 Quote Try system("cls"); This equivalent to typing "cls" while in DOS. True, but then you are depending on the OS for that. A better (more standard) way is to call... clrscr(); I don't remember if its defined in conio.h or stdio.h, so you might need to... #include, but I'm not sure, its been a while. ~Chivo Quote Share this post Link to post Share on other sites