+ 13

Can i show images in c and cpp using graphics or using file.?

Is it possible to show images in c or c++ programing.? I seen many youtube channels and also tried many codes but they won't working.

6th Jun 2020, 4:45 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
8 Respostas
+ 4
You may install OpenCV and can perform image guidance. Stack overflow is always good for such https://stackoverflow.com/questions/20168797/opening-and-displaying-an-image-in-c
6th Jun 2020, 4:52 PM
Nilesh
Nilesh - avatar
+ 3
AMOGHA. A. K. Am not asking about graphics
6th Jun 2020, 5:06 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 2
Just look for the application they use for this purpose, because sometime, i noticed , the application difference make things worse, like while doing things on sololearn codeplay is really chaotic for me, because it doesn't support, many of the libraries.
6th Jun 2020, 5:44 PM
Raj Kalash Tiwari
Raj Kalash Tiwari - avatar
+ 1
Borland version of c/c++ already have graphics header file directory!! But the latest c/c++ standard deprecated (removed) those header files, that's why your code isn't working. Use Microsoft Visual C/C++ or Qt for Graphics! "conio.h, graphics.h, etc" are deprecated. getch(); to _getch(); and getche(); to _getche(); ... system ("cls"); for clearing screen!
7th Jun 2020, 8:43 PM
DEATH128
DEATH128 - avatar
0
In Qt framework you can do all. C++
6th Jun 2020, 5:35 PM
Shahghasi Adil
Shahghasi Adil - avatar
0
S.Adil 🇦🇫 I dont need ide or compilers
6th Jun 2020, 5:36 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
0
Here specially in solo learn ide I think impossible!!
6th Jun 2020, 5:42 PM
Shahghasi Adil
Shahghasi Adil - avatar