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?
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
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. [...] ¹"
Also, I can't admire enough the search bar's capabilities!