How can I display an image as output in c++? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 16

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

21st Mar 2017, 1:45 AM
Ankit
21 Answers
+ 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!
21st Mar 2017, 2:49 AM
Forever An Apple
Forever An Apple - avatar
+ 11
I prefer to using SFML to display graphics in C++, but better is to know objectivity of C++ firstly.
21st Mar 2017, 12:11 PM
Jakub Kleban
+ 7
If you are using Visual Studio, you can make Windows Forms Application for C++ and add images.
21st Mar 2017, 11:55 AM
Azizbek Kobilov
Azizbek Kobilov - avatar
+ 6
dx12 and vaulkan
23rd Mar 2017, 1:21 AM
DeleteThisAccount
+ 6
Visual Studio
27th Mar 2017, 5:43 AM
StillSoul‌‌‌‌‌‌‌‌‌‌‌‌‌‍
StillSoul‌‌‌‌‌‌‌‌‌‌‌‌‌‍ - avatar
+ 5
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
25th Mar 2017, 8:12 AM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 4
Try learning QT GUI toolkit or better is using .NET for windows.
24th Mar 2017, 9:09 PM
Mohi
Mohi - avatar
+ 3
You can use direct x
21st Mar 2017, 4:15 PM
Mrityunjay Jha
Mrityunjay Jha - avatar
+ 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.
25th Mar 2017, 3:53 PM
Dominik Kostecki
Dominik Kostecki - avatar
+ 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!
26th Mar 2017, 11:04 AM
zvix
zvix - avatar
+ 1
SFML is a great lib for graphics. Especially if your interested in video games
22nd Mar 2017, 8:59 PM
Joey
Joey - avatar
+ 1
Heyy!! somebody down voted our posts!
24th Mar 2017, 4:36 AM
DeleteThisAccount
0
directX
24th Mar 2017, 2:29 AM
DarkStory
- 1
I have got a one exam
27th Mar 2017, 8:19 AM
Cemil Tola
Cemil Tola - avatar
- 2
Hello
27th Mar 2017, 9:30 AM
Shahu Shaz
Shahu Shaz - avatar
- 2
yes my online
27th Mar 2017, 11:45 AM
PRONOB JYOTI PATOR
- 3
hi
26th Mar 2017, 7:44 AM
AJIT SAHU
AJIT SAHU - avatar
- 3
hi
26th Mar 2017, 8:25 AM
Aung Min Soe
Aung Min Soe - avatar
- 4
programmer's are GODS! I alas am not.
24th Mar 2017, 11:35 AM
craig dempsey
craig dempsey - avatar
- 8
any one online..??
23rd Mar 2017, 8:16 PM
Abdul Khaliq Bhatti
Abdul Khaliq Bhatti - avatar