clear screen function in c programming code example
Example 1: clear screen c
#include <stdlib.h>
//...
system("clear"); //*nix
system("cls"); //windows
Example 2: clear screen in c
system("cls");
#include <stdlib.h>
//...
system("clear"); //*nix
system("cls"); //windows
system("cls");