+ 6

How can I put an image in c++?

21st Jul 2020, 8:11 AM
Leo
7 odpowiedzi
+ 4
Harshit Sharma 😉 i used all headerfile files graphics , windows and tried many files related program but not worked.
23rd Jul 2020, 2:39 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 3
I tried different different images code but any code didn't work i searched on Google,quora ..... etc but those code was giving errors. .
22nd Jul 2020, 5:55 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 2
You can use "graphics.h" for tha t purpose. Check this out :- https://www.youtube.com/playlist?list=PLMclp-q8OPhnBqdI6DAIhsHX6RvVD5nha HOPE IT HELPS 😊
21st Jul 2020, 1:17 PM
Harshit Sharma
Harshit Sharma - avatar
+ 2
🐰Tiara 🐰 you really should use some framework like SFML or something not just some code snippets...... And yeah for little things you can also use "graphics.h"
23rd Jul 2020, 2:37 AM
Harshit Sharma
Harshit Sharma - avatar
+ 2
🐰Tiara 🐰 Also... "graphics.h" is not readily available! You need to download it and then link it to the project in order to use it. Same is true for SFML, etc.
23rd Jul 2020, 2:45 AM
Harshit Sharma
Harshit Sharma - avatar
+ 1
You can use graphic frameworks like directX or OpenGL. Or the newer Vulcan
21st Jul 2020, 8:17 AM
Dragonxiv
Dragonxiv - avatar