Why C++ doesn’t have <graphics.h> library? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Why C++ doesn’t have <graphics.h> library?

I wrote code using some graphics on my computer and it worked, but here it doesn’t work cause doesn’t exist <graphics.h> library.

14th Jul 2018, 3:57 PM
MN...
MN... - avatar
8 Answers
+ 4
hey MN... graphics.h is an old library which is no longer supported by any of the latest compilers. guess you are using an old compiler on your system.
14th Jul 2018, 4:09 PM
Nikhil Dhama
Nikhil Dhama - avatar
+ 3
MN... There are other libraries available; SDL: which is mostly for programming video games and OpenGL :which is for 3D graphics Opencv : open source computer vision library https://www.sololearn.com/Discuss/578649/?ref=app [Edit]: LazyFoos SDL and OpenGL tutorials. http://lazyfoo.net/ credit to jay
14th Jul 2018, 8:02 PM
Nikhil Dhama
Nikhil Dhama - avatar
+ 2
Thank you so much ☺️☺️
14th Jul 2018, 8:20 PM
MN...
MN... - avatar
+ 1
Sololearn doesn't support graphics or GUI other than the web languages
14th Jul 2018, 3:59 PM
TurtleShell
TurtleShell - avatar
+ 1
I didn’t know them. I didn’t even hear about them. Thank you a lot ☺️
14th Jul 2018, 8:04 PM
MN...
MN... - avatar
+ 1
I think you were using turboC here is a thread which may help you to answer why not to use it https://www.sololearn.com/Discuss/288609/?ref=app
14th Jul 2018, 8:07 PM
Nikhil Dhama
Nikhil Dhama - avatar
+ 1
MN... welcome
14th Jul 2018, 8:07 PM
Nikhil Dhama
Nikhil Dhama - avatar
0
Then Nikhil Dhama tell me how can i create program with graphics in c++ ?
14th Jul 2018, 7:53 PM
MN...
MN... - avatar