SDL and Visual Studio

So I am using Visual Studio Express 2012, and I am following this tutorial:

http://lazyfoo.net/tutorials/SDL/02_getting_an_image_on_the_screen/index.php

Now my only problem is that if I press on "Local Windows Debugger" the program flashes and debugging ends, now that problem I fixed by pressing CTRL+F5 so it keeps the window up, now it does that but it says "Unable to load image", so I went to the debug folder and I ran the .exe file and it actually works perfectly fine, but I want Visual Studio CTRL+F5 to work well too... how do I get it to work?
You need to configure the working directory that will be used during debugging. By default it's set to $(ProjectDir), but $(OutDir) is usually more useful.
Topic archived. No new replies allowed.