Can anyone tell me how I can work with images onC/C++? | Sololearn: Learn to code for FREE!

-1

Can anyone tell me how I can work with images onC/C++?

Am trying to import and view an image with C/C++ but I don't even know where to begin 😔

8/11/2022 10:38:10 AM

Forche Herod🇨🇲

5 Answers

New Answer

+1

you need to use a library for this purpose if don't want to implement everything from scratch. Sree's answer looks to be from ancient ms-dos and turbo c time. one is ImageMagick: http://www.imagemagick.org/script/develop.php another is openCV, SDL... try a google search will reveal more... keep in mind that GUIs and using graphics are extremely OS dependent and they have to use the host OS APIs. This will add another layer of complexity on top of image manipulation.

0

How does it work?

0

I tried this but I get <dos.h> not defined

0

What about <graphics.h>?

0