title: C++ SDL, why does SDL_LoadBMP() return NULL?
body: <p>I've just started with SDL after doing some research. I started with this tutorial <a href="http://lazyfoo.net/SDL_tutorials/lesson01/index2.php" rel="nofollow">http://lazyfoo.net/SDL_tutorials/lesson01/index2.php</a> &lt;&lt; Using the exact same code and bmp image.</p>
  
  <p>For some reason when I debug and run the program inside my IDE (Microsoft visual studio) the screen loads but the picture that should be popping up on the screen does not. However, when I would go to my project and run the program manually it does everything smoothly. After doing some research it turned out SDL_LoadBMP() returns NULL (it returns NULL if an error occured). But why? Also, how can I see what the error actually is?</p>