0

system("cls"); and Sleep(time); in sololearn

system("cls"); and Sleep(time); work in ms Visual Studio , but what is same function in sololearn?

29th Sep 2018, 1:06 PM
Otakoe
Otakoe - avatar
2 Antworten
+ 2
You cant use system("cls") in SL codeplayground or any other function
29th Sep 2018, 4:14 PM
LetterC67
LetterC67 - avatar
+ 1
"cls" is for terminals. The output panel is not a terminal. sleep works but again, not a terminal -- I use it for timing tests, not UI.
29th Sep 2018, 4:30 PM
Kirk Schafer
Kirk Schafer - avatar