clear screen c

C
#include <stdlib.h>
//...
system("clear"); //*nix
system("cls"); //windowssystem("cls");
Source

Also in C: