+ 1
Why #include <graphics.h> is not supporting in c
while running my code there is a compilation error. https://code.sololearn.com/c9q3FGx4ahF9/?ref=app
11 Respuestas
+ 5
Two reasons::
1.The "graphics.h" library is not installed on Sololearn's C compiler.
2.Sololearn uses a console for programming non-web languages .
So trying to draw graphics on a bare console is not going to work here
+ 3
P Shobha no you can't , neither here on SL nor on any latest compiler,
as i earlier told you, graphics.h is not further supported by any of the latest compilers.
for graphics programing there are some opensource libraries are available but they also are unsupportable here.
+ 2
then main reason is, SL is using latest compilers, and for latest compilers, graphics.h header is not supported,
it got removed from Standard of the language.
+ 2
P Shobha report his answer
or you can block him i guess
+ 1
oooh thanku
+ 1
no
0
then how the graphics will be compiled in sololearn
0
the address of bgi is the main problem
0
oow ok thanku
0
cse and u?
0
Please don't spam this thread.
If you want to know each other better, use Discord via.
https://www.sololearn.com/discuss/689391/?ref=app