instead of using clear the screen, why not just use a 'break;' as in a case statement
--- On Sun, 3/15/09, Bill Cunningham <[email protected]> wrote: From: Bill Cunningham <[email protected]> Subject: [c-prog] clear the screen To: [email protected] Date: Sunday, March 15, 2009, 3:43 PM I don't know if there is a way to clear the screen in std c/c++. This is what I use. #include <ncurses.h> int main(void) { initscr(); refresh(); endwin(); return 0; } and link to libnurses.a It works but isn't c89 and c 99. There are platform specific ways to do this. Clear on my linux. I use the above for a version of DOSs cls. Bill [Non-text portions of this message have been removed]
