Alternative code to be functional | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Alternative code to be functional

I wanted to make a loading screen animation but ##clrscr()## command doesn't work any alternative for my code? https://code.sololearn.com/ca9W9jzEB83M/?ref=app

6th Apr 2018, 7:02 AM
Vignesh
1 Answer
+ 1
For clrscr you'd need the conio.h header, but even this doesn't work in SL. Generally the SL playground console is very limited as it works rather like an output collector than a real console. So my advice: If you want to create a console app with typical console features do it on your PC with a real compiler (and if you have a unix OS use the ncurses lib for it)
6th Apr 2018, 7:15 AM
Aaron Eberhardt
Aaron Eberhardt - avatar