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 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
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).
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++.