what can i use instead of system("pause") and system ("cls") in Sololearn? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

what can i use instead of system("pause") and system ("cls") in Sololearn?

System ("pause") and system("cls") are used in Windows but on the mobile phone or in Sololearn are of course not found.

2nd Jan 2021, 1:20 PM
Moris
Moris - avatar
2 Answers
+ 1
Try using system("clear") And you can't pause because code execute on sl server not in your android or IOS Happy coding ☺️
2nd Jan 2021, 1:59 PM
Stuvan
Stuvan - avatar
0
well. neither of these. simple
2nd Jan 2021, 1:54 PM
Rellot's screwdriver
Rellot's screwdriver - avatar