opening jpg in a new window

my question is just as the title says. i want to know how to open a jpg in a seperate window automaticly when my code opens. i have looked everywhere but i cant figure out how to do it
i kinda was hoping to do it without sfml because i dont know how to get it to work with dev c++
sdl then?
I think both sdl and sfml and many many others all link to the same jpeg lib. i saw a quick thing how to use. i would just use the jpeg lib directly to avoid unnecessary files

http://www4.informatik.uni-erlangen.de/Services/Doc/graphics/doc/jpeg/libjpeg.html
acorn, OP wants to display the jpeg too. (or did I fail to notice that functionality there?)
cainen, you should try to deal with setting up a library. You'll need it at some point anyway. Though you may want to get a better IDE before you do that (Code Blocks, for example).
im not trying to put a pic in my program. i want it to open an existing picture from the files in my computer in a new window
also i did download microsoft visual c++ 2010 express edition but i was experiencing technical difficulties.
Would calling (from your code) some other program to open the image be ok?
what do u mean
o i understand now but how do you do do that.
i still dont really get it. but its ok i think i found another way
At risk of going off-topic, would you consider not using Dev-C++? So many people come through here struggling with it, and there are so many better alternatives. To my mind, even a basic text editor and manual command line compilation and linking is better than Dev-C++.
so i have been told..... can you request a better IDE
Topic archived. No new replies allowed.