+ 18
How to use graphics in C language in sololearn ?
#include< graphics. h> library
7 Answers
+ 11
// Hi ADEVIL,
// No, The graphics for C in Sololearn Code Playground is not supported.
+ 5
Important detail in C++ Soldier (Babak)'s answer.
The compiler here is standard; Borland is not.
I realize that some schools require it, but ask yourself this:
How many major github projects would hang their future on one company's ideas from decades ago...
...and how many would use (prefer, and hire) a global standard?
+ 4
SoloLearn's code playground does not support graphics!!đ
đ
+ 4
Apart from sololearn...if you are interested in graphics in c...you have to include graphics.h header file in you program...and in main function you should call initgraph("location of your BGI file"). for example-initgraph(&gd, &gm, "C://TurboC3//BGI");...remenber this will only work in your PC not in solo learn
+ 3
Love your vision, Kirk 8)
Also congrats for the new golden thing! 8D
+ 2
Additional info:
Although graphic is not supported, Unicode is supportedhttps://code.sololearn.com/c5eB8nC068X4/?ref=app
+ 1
Very interesting header file!
I love the archaic stuff all the way!
"The last Borland's C++ IDE for DOS is Borland C++ 3.1 (1992). The last C++ environment which supports BGI is Borland C++ 5.02 (1997), which works under Windows but can compile DOS programs. BGI was accessible in C/C++ with graphics.lib / graphics.h, and in Pascal via the graph unit. [...] Âč"
_____
Âč https://en.wikipedia.org/wiki/Borland_Graphics_Interface
~~~~~~~
Also, I can't admire enough the search bar's capabilities!
https://www.sololearn.com/Discuss/917162/why-graphics-h-is-not-compile-in-c
https://www.sololearn.com/Discuss/1056765/how-to-use-graphics-in-c
...
..
.