Clear Screen without clrscr() function call

#include<stdio.h>
void clearmyscreen();
void main()
{
printf("Hello");
getch();
clearmyscreen();
printf("World");
getch();
}

void clearmyscreen()
{
system("cls");
}

   

0 Comments