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

Reply via email to