+ 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

11th Jul 2018, 3:21 AM
P Shobha
P Shobha - avatar
11 ответов
+ 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
11th Jul 2018, 3:43 AM
Dlite
Dlite - avatar
+ 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.
12th Jul 2018, 6:44 PM
Nikhil Dhama
Nikhil Dhama - avatar
+ 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.
11th Jul 2018, 5:16 AM
Nikhil Dhama
Nikhil Dhama - avatar
+ 2
P Shobha report his answer or you can block him i guess
28th Jul 2018, 8:29 AM
Nikhil Dhama
Nikhil Dhama - avatar
+ 1
oooh thanku
11th Jul 2018, 3:46 AM
P Shobha
P Shobha - avatar
+ 1
no
27th Jul 2018, 11:10 AM
P Shobha
P Shobha - avatar
0
then how the graphics will be compiled in sololearn
11th Jul 2018, 5:43 AM
P Shobha
P Shobha - avatar
0
the address of bgi is the main problem
12th Jul 2018, 5:50 PM
Amit Pandey
Amit Pandey - avatar
0
oow ok thanku
15th Jul 2018, 4:36 AM
P Shobha
P Shobha - avatar
0
cse and u?
27th Jul 2018, 11:15 AM
P Shobha
P Shobha - avatar
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
27th Jul 2018, 11:16 AM
Dlite
Dlite - avatar