Original Post
I decided yesterday to use SDL, and I'm starting today and almost everything works out so far. Except.... I'm getting this message when I try to compile: "expected primary-expression before '=' token" That's in the SDL_SetVideoMode. My line for that is: "screen = SDL_SetVideoMode(SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_BPP, SDL_SWSURFACE);" Where SCREEN_WIDTH = 640, SCREEN_HEIGHT = 480 and SCREEN_BPP = 32, set with #define. I'm initializing screen in the global scope with: "SDL_Surface *screen = 0;" So what's wrong? Thanks in advance for the replies. If you need all of the code, please tell me how to put it in a vertical scroll thingy that people use that I don't know how to use.