Graphics in c++ | SoloLearn: Learn to code for FREE!


Graphics in c++

How can i add graphics in c++ program?

10/8/2017 6:40:30 PM

Aniket Kumar

5 Answers

New Answer


using graphic library (SFML, SDL, Allegro, OpenGL, DirectX etc).


DirectX, opengl, vulkan are common graphics apis if you want something simple there is sdl


3d graphics - OpenGL ( cross platform ) 2d graphics - SFML ( cross platform ) GUI - QT, wxWidgets, GTK, GTKMM, FLTK. ( cross platform )


In Turbo C You Can Use library #include<graphics.h> four MinGw compiler you have to download library and have to configure


If you mean GUI, then check out Qt or wxWidjets.