Is it possible to combine OpenGL with C++ on a single window?

In a windows application, input is taken from slide bars, drop down lists and text boxes and the output is to be generated as a 3D image. Is it possible to use C++ with OpenGL for this purpose since GDI only works for 2D? Is there any example on how this may be done?
Think about this: is it possible to have a OS X, Android, or Linux applications written in C++ that use OpenGL?

OpenGL is a graphics library. C++ is a language. Language can use multiple libraries.


http://doc.qt.io/qt-5/examples-widgets-opengl.html
Topic archived. No new replies allowed.