/*
Author: Timus Rak
Date:15-07-2014
*/
#include <stdio.h>
#include <conio.h>
void clrthescreen();
void main()
{
int op;
printf("Press any key to clear the screen.\n");
getch();
clrthescreen();
printf("This appears after clearing the screen.\n");
printf("Press any key to exit...\n");
getch();
}
void clrthescreen()
{
system("cls");
//system("clear"); Use only for LINUX
}
0 Comments