User Tools

Site Tools


c:conio.h:clrscr

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

c:conio.h:clrscr [2024/02/16 01:05] (current)
Line 1: Line 1:
 +====== clrscr ======
 +<code c>
 +void clrscr (void);
 +</code>
  
 +==== description of clrscr ====
 +clears the screen and move the cursor to upper left corner of the screen.
 +
 +
 +<code c>
 +#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;
 +}
 +</code>
 +
 +===== 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

on the occasion of the current invasion of Russia in Ukraine

Russian Stop this War
c/conio.h/clrscr.txt · Last modified: 2024/02/16 01:05 (external edit)

Impressum Datenschutz