Ok so my code is:
using namespace std;
int main( int argc, char* args )
SDL_Surface* hello = NULL;
SDL_Surface* screen = NULL;
SDL_Init( SDL_INIT_EVERYTHING );
screen = SDL_SetVideoMode( 640, 480, 32, SDL_SWSURFACE );
hello = SDL_LoadBMP("block.bmp");
SDL_FreeSurface( hello );
I have the block.bmp in the same directory as my exe (Debug)
Oh and I'm using Code::Blocks.
Can anyone help me?