How to add image in background of program | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to add image in background of program

I want to add a image in my c++ program background, how can I do that any help??

13th Jun 2018, 1:31 PM
Omkar Tripathi
Omkar Tripathi - avatar
9 Answers
+ 6
Not possible either. Turbo is worse, because it is obsolete and does not support standard C++. What you need is a GUI library for C++.
13th Jun 2018, 5:15 PM
Hatsy Rei
Hatsy Rei - avatar
+ 3
Not possible for console apps in Code Playground.
13th Jun 2018, 2:45 PM
Hatsy Rei
Hatsy Rei - avatar
+ 1
Hatsy Rei what about turbo on windows
13th Jun 2018, 4:57 PM
Omkar Tripathi
Omkar Tripathi - avatar
+ 1
Hatsy Rei :: what best options do I have??
13th Jun 2018, 6:01 PM
Omkar Tripathi
Omkar Tripathi - avatar
+ 1
QT is considered to be one of the best apps for Gui although it's quite complicated at first glance
14th Jun 2018, 12:23 AM
Matej Hráček
Matej Hráček - avatar
+ 1
The best GUI maker I have worked with was in netbeans java swing gui
14th Jun 2018, 12:24 AM
Matej Hráček
Matej Hráček - avatar
+ 1
Literally drag and drop adjust and play with it, later on change its name for example jButton to just btnOK if that button represents OK and later in code write in actionPerformed method what you want to do when this button will be pressed
14th Jun 2018, 12:25 AM
Matej Hráček
Matej Hráček - avatar
+ 1
That is Java, for C++ you can try and play with openGL libraries although they are quite hard to get working (at least it was for me to get SFML working in Code::Blocks) but once you got it working you can fiddle around with it, I warn you, there aren't that many tutorials for Gui on Internet, if there are they are old, or not working with today's version of either your IDE or minGW version and if they are and working boi you stumbled upon an gem
14th Jun 2018, 12:28 AM
Matej Hráček
Matej Hráček - avatar
+ 1
Matej Hráček thanks for providing me that piece of information..👍👍
14th Jun 2018, 2:52 AM
Omkar Tripathi
Omkar Tripathi - avatar