+ 1

HELP

What is the meaning of system ("cls");

11th Jun 2018, 10:53 AM
Aveek Bhattacharyya
Aveek Bhattacharyya - avatar
2 Answers
+ 6
It is used to clear the output screen. It doesn't work in code playground, you may try it out in other IDEs.
11th Jun 2018, 11:03 AM
Shamima Yasmin
Shamima Yasmin - avatar
+ 5
system() is used to invoke an OS command. The "CLS" command on Windows would clear the command prompt window.
11th Jun 2018, 11:03 AM
Hatsy Rei
Hatsy Rei - avatar