Hi I am trying to display an image saying hello world and i wrote all the right code, and it just displays a black window.. What could be wrong what could i be doing wrong I am putting hello world in the directory for the project so what should i do so it shows the image? here is the code (btw this is sdl-c++) and using xcode
Hi disch. Yes, the bmp is failing to load. Maybe I did put it in the wrong directory which one would I put it in? How would I do so? I am sooo confused I thought I just put it in the same folder as my xcode project. already-waiting-your-reply, Michael :)
#include <windows.h> // <- temporary, remove this after this test is done
/* temporary, remove this after your test is done */
/* end of temporary crap */
/* the rest of your program */
That'll pop up a little window telling you exactly which directory the .bmp needs to be put in.