clrscr-clear screen
its give you direct space to work.
without waiting
#include <windows.h> int main() { system("cls"); return 0; }
Many reasons, one of them: there is no 'clrscr' in Java.
What do you mean by \'alternate function of clrscr\'? A function that undoes clrscr? Or one that fills the screen with random characters? Anyway, clrscr is not part of the standard C library, it is DOS-specific.
Function 'clrscr' is not part of the C language. Or the standard libraries. It is MS-DOS specific function, use the help for details (clrscr means clear the screen).
clrscr(); it's a in-built method to clear the terminal(desktop) output which was created before..
conio.h
#include#includemain(){clrscr();coutb;cout
here it goes #include<iostream.h> #include<conio.h> #include<dos.h> int main() { for(int i=1;i<79;i++) { gotoxy(i,10); cout<<"hi"; delay(50); clrscr(); } return 0; }
No, you don't have to.
by using "clrscr" command at starting of the program
You can use system("cls") function with stdlib.h
Hi, Conio.h is a header file which have functions declaration. One of them is clrscr() function. This function have its prototype in conio.h. clrscr() function is used to clear the screen. Thus, whenever u called clrscr() function u r required to define conio.h header file in your program.... Similarly there are many functions in conio.h.... Hope it will help u....