What should i do to clear the screan? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What should i do to clear the screan?

24th Jul 2016, 5:16 PM
Barkha Verma
Barkha Verma - avatar
16 Answers
+ 4
After starting main function you should write clrscr() ; to clear the screen
25th Jul 2016, 5:23 PM
jack
+ 2
or in code blocks system('cls');
25th Jul 2016, 12:55 PM
Subramanian Thiagarajan
Subramanian Thiagarajan - avatar
+ 1
'#include<conio.h>' header file in main function 1 st line 'clrscr();'
25th Jul 2016, 12:55 PM
Subramanian Thiagarajan
Subramanian Thiagarajan - avatar
+ 1
clrscr();
30th Jul 2016, 5:14 PM
Shivam Sakore
Shivam Sakore - avatar
+ 1
clrscr();
5th Aug 2016, 4:00 PM
Jalil Savaghebi
Jalil Savaghebi - avatar
0
Clrscr
24th Jul 2016, 5:17 PM
Barkha Verma
Barkha Verma - avatar
0
yup clrscr for this use header file conio.h
24th Jul 2016, 5:18 PM
Darsh Shah
Darsh Shah - avatar
0
clrscr()
24th Jul 2016, 6:44 PM
padmesh
padmesh - avatar
0
use #include<conio> then use clrscr();
25th Jul 2016, 4:20 AM
keshav vats
keshav vats - avatar
0
You can use #include<conio.h> in the header and clrscr(); at the end to clear the screen.
25th Jul 2016, 10:51 AM
Bhupen Nepal
Bhupen Nepal - avatar
0
include header file <conio.h> and u'll be able to do u by typing clrscr(); after the main() function and curly bracket {
3rd Aug 2016, 6:29 AM
Sarthak Arora
Sarthak Arora - avatar
0
clrscr();
25th Nov 2016, 1:48 PM
Dhanya sree
0
use clear( );
26th Nov 2016, 10:22 AM
nitesh kumar
nitesh kumar - avatar
0
clrscr();
26th Nov 2016, 5:45 PM
Mamoona Nisar
0
clrscr()
27th Nov 2016, 4:01 AM
ved
0
You have to use clrscr()
30th Nov 2016, 3:20 PM
Rami Salim
Rami Salim - avatar