Does anyone know about attaching images in c??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Does anyone know about attaching images in c???

I want to know how to attach images to my c program n if possible change my background color or to an image.

29th Jan 2018, 3:38 PM
Lynnesha Rigby
Lynnesha Rigby - avatar
2 Answers
+ 3
You would need to use a graphics library for this. SDL2 is a good one.
29th Jan 2018, 3:48 PM
Jacob Pembleton
Jacob Pembleton - avatar
+ 1
I don't think it's possible. Program usually runs in command prompt kinda dialogue box. You can change the background color of you "Text Editor/ IDE" , if you are on PC of course. Impossible in mobile devices.
29th Jan 2018, 3:46 PM
Akib
Akib - avatar