User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







c:conio.h:clrscr

clrscr

description of clrscr

clears the screen and move the cursor to upper left corner of the screen.

#include<stdio.h>
#include<conio.h>
 
int main(void)
{
   printf("press any key to start this clrscr example\n");
   getch();
   clrscr();
   printf("Jeah i have overwritten the last content.\n");
   printf("to exit... press a key\n");
   getch();
   return 0;
}

output of clrscr c example

1

  press any key to start this clrscr example

2

  Jeah i have overwritten the last content.
  to exit... press a key
advertising
c/conio.h/clrscr.txt · Last modified: 2013/02/03 15:59 by 158.181.88.241

Impressum Datenschutz