Why cant we do graphics in sololearn | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Why cant we do graphics in sololearn

an error occurred when I used <graphics.h> as file not found.compilation terminated

1st Mar 2017, 6:17 PM
Milind Dholakia
Milind Dholakia - avatar
1 Answer
+ 9
SoloLearn compiler runs your code on its servers and sends you the result as plain text. Since you'll never see the graphics anyway, they removed <graphics.h> from their copy of the compiler. If you want to play with graphics, you'll need to use a compiler on a computer.
1st Mar 2017, 7:19 PM
Tamra
Tamra - avatar