How do you create graphics in c++ programs? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

How do you create graphics in c++ programs?

12th Jun 2019, 7:52 PM
SolomonDavid Akesoba
SolomonDavid Akesoba - avatar
6 Answers
+ 9
You can use the graphical user interface by just including graphics.h header in your code
13th Jun 2019, 7:28 AM
Manoj
Manoj - avatar
+ 6
Visual Studio is another option for GUIs.
14th Jun 2019, 3:51 AM
Sonic
Sonic - avatar
+ 2
You can use a GUI library in C or C++ to do this job: - SDL2 - OpenGL (with SDL2, SFML or GLFW for example) - SFML - Qt - SANDAL2 (ok, this one is not really known, I made it myself ... but well ... I need to make some advertisement 😂) I must bave forgotten some
12th Jun 2019, 7:58 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 2
graphics.h is not standard, it's a DOS graphics library for Turbo C++ which has been outdated since the 90s.
14th Jun 2019, 4:00 PM
Chris
Chris - avatar
+ 2
How do you use them?
15th Jun 2019, 6:55 PM
SolomonDavid Akesoba
SolomonDavid Akesoba - avatar
+ 1
you can use a GUI library in C or C++ to do this job
13th Jun 2019, 6:59 AM
Adegboye Oluwamuyiwa
Adegboye Oluwamuyiwa - avatar