Pictures in C++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Pictures in C++

Please can someone explain to me how I can put pictures into my C++ programm so they will be showed on the screen? I've just finished the course and I didn't find anything like that besides files.

28th Feb 2018, 4:57 PM
Christoph
Christoph - avatar
3 Answers
+ 6
Adding images, video, is not basic C++. Try the tutorial in this openCV thread - worked for me https://www.sololearn.com/discuss/578649/?ref=app
28th Feb 2018, 5:58 PM
Manual
Manual - avatar
+ 3
Well you'll probably want to research something like "graphics programming C++". It depends on what exactly you're looking for but if you have an environment setup on your computer for C++ I might look into SDL. It is "simple direct-media layer" and gives a fairly simple framework for getting a window and rendering inside it including other related IO functionality.
28th Feb 2018, 5:17 PM
Lewis
Lewis - avatar
+ 1
OK, thank you guys
28th Feb 2018, 8:13 PM
Christoph
Christoph - avatar