0

Which header file is needed for cls?

I'm using Dcoder app on android. can anyone tell me which header file is needed for system("cls")? i searched on google tried stdlib conio cstdlib but none of them worked

13th Feb 2017, 6:31 PM
Nikhar Sachdeva
Nikhar Sachdeva - avatar
9 odpowiedzi
+ 3
system ("cls"); OS dependent only windows supports it. by the way stdlib.h/cstdlib are the correct header files
13th Feb 2017, 6:34 PM
Megatron
Megatron - avatar
+ 2
nope. Try outputting 100 newlines 😇😇
13th Feb 2017, 6:44 PM
Megatron
Megatron - avatar
+ 2
I asked only 100 times. You did it 101 times 0-100 are 101 numbers.
13th Feb 2017, 6:50 PM
Megatron
Megatron - avatar
+ 2
Sory❓❓ Sorry
13th Feb 2017, 6:53 PM
Megatron
Megatron - avatar
+ 1
Sorry for(i=1;i<=100;i++) { cout<<"\n"; }
13th Feb 2017, 6:52 PM
Nikhar Sachdeva
Nikhar Sachdeva - avatar
0
ok thank you and do you know how to clear screen of output window on android's app dcoder?
13th Feb 2017, 6:36 PM
Nikhar Sachdeva
Nikhar Sachdeva - avatar
0
because I don't have computer or laptop.So I'm using it on mobile phone .
13th Feb 2017, 6:38 PM
Nikhar Sachdeva
Nikhar Sachdeva - avatar
0
Lol thank You
13th Feb 2017, 6:46 PM
Nikhar Sachdeva
Nikhar Sachdeva - avatar
0
for(i=0;i<=100;i++) { cout<<"\n"; } 😅
13th Feb 2017, 6:49 PM
Nikhar Sachdeva
Nikhar Sachdeva - avatar