image

i have my image stored in the computer in the my pictures folder.

how can i display it in c++ ??
As in do you just want c++ to open the picture as a file by calling on another program to open it. Or do you want the picture to be opened in a program you made?
i want that the picture to be displayed on the screen.

so i guess the latter part
You would have to get an image library of some sort. If you look through a couple of pages of the "Beginners and General C++ Programming" Sections of the forums you'll find a few listed. I myself though would use the SDL as I know the library but it's really up to you what library you use. SDL Website: http://www.libsdl.org/
Do you want any fancy GUI or you just it to be displayed on a window as that's it?
Um, the SDL is intended for real-time graphics applications. You should perhaps rather use a GUI. You might want to try GTKmm (the c++ wrapper for GTK+). It is (a) c++, (b) free, (c) platform-independent and (d) specialized for images.
Topic archived. No new replies allowed.