Can anyone explain about this part of Windows.h library : system('clear');??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can anyone explain about this part of Windows.h library : system('clear');???

windows.h

6th Nov 2016, 9:03 AM
AREZOO
2 Answers
+ 2
in windows, you can use system("cls") command to clear the output screen. Do include windows.h header file.
6th Nov 2016, 10:00 AM
kamal joshi
kamal joshi - avatar
+ 1
It runs the command 'clear' in cmd.
6th Nov 2016, 9:17 AM
Mihai Dancaescu
Mihai Dancaescu - avatar