Char * character and string

Andrej Mitrovic andrej.mitrovich at gmail.com
Fri Mar 2 04:55:54 PST 2012


SDL_LoadBMP is declared as:
SDL_Surface *SDL_LoadBMP(const char *file);
http://www.libsdl.org/cgi/docwiki.cgi/SDL_LoadBMP

So you don't need a mutable char*. I'd recommend using Derelict since
it already has all these prototypes declared properly.


More information about the Digitalmars-d-learn mailing list