0

How i use clrscr ?

i have write #include <conio.h> but still have an error. thank you.

27th Oct 2016, 11:47 PM
Virra Arthavia
Virra Arthavia - avatar
2 Answers
0
use clrscr();
28th Oct 2016, 5:51 AM
Chinmay Majumdar
Chinmay Majumdar - avatar
0
Depending on whether you use C++11 standard(Most of the modern compiler including this app use this standard) or older standard ( The one used in Turbo C++) You have to either use: #include<conio.h> (For turbo c++) or #include<conio> (For this app) To use clrscr(): #include<conio.h> #include<iostream. h> . . . /*your code where you want to use clear the screen*/ clrscr(); .. ..
28th Oct 2016, 8:01 AM
Anbu Coder
Anbu Coder - avatar