SDL LoadBMP from seperate cpp?

I am looking for a way to load a Bitmap from a CPP that is separate from the main CPP.

I have searched Google for quite sometime and haven't found anything... or at least nothing I can understand. There must be a simple way to do this, yes?

Any help would be appreciated.
It isn't different from loading it on your main file...
Yes it is just:
1
2
3
4
5
#include <SDL/SDL.h>
//or
#include <SDL>
//or
#include <SDL.h> 
No, it isn't. Also, no:
#include <SDL>
Last edited on
http://www.libsdl.org/faq.php?action=listentries&category=2#19

#include "SDL.h"


It does not matter where you load your bitmap. If it is part of your program, then your program can have access to it.

Hope this helps.
Topic archived. No new replies allowed.