+16

How can I display an image as output in c++?

3/21/2017 1:45:17 AM

Ankit

21 Answers

New Answer

+32

C++ does not have the capabilities to provide a GUI out of the box. Some libraries that that you could use to help are: - SFML - OpenGL - SDL and many, many others... (Just search them up!) Good luck coding!

+11

I prefer to using SFML to display graphics in C++, but better is to know objectivity of C++ firstly.

+7

If you are using Visual Studio, you can make Windows Forms Application for C++ and add images.

+7

Maybe, as a beginner, do not start with openGL as it is hard to understand and use. Try with something more easy like SFML, SDL2 like @Forever An Apple said

+6

dx12 and vaulkan

+6

+4

Try learning QT GUI toolkit or better is using .NET for windows.

+3

You can use direct x

+3

For making games select SFML, for making apps select Qt. For me is important what i want to do, because "image as output" can be a part of practically everything.

+3

SFML is a great library that allows you to show different format of images and sound as much as text and other good things. highly recommended! good luck!

+1

SFML is a great lib for graphics. Especially if your interested in video games

+1

Heyy!! somebody down voted our posts!

0

directX

-1

I have got a one exam

-2

-2

yes my online

-3

-3

-4

programmer's are GODS! I alas am not.

-8

any one online..??