c programming clear screen function 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");