screen = SDL_SetVideoMode(1000,1000,32, SDL_HWSURFACE | SDL_FULLSCREEN);
What does the | do in SDL_HWSURFACE | SDL_FULLSCREEN
|
SDL_HWSURFACE | SDL_FULLSCREEN
That's the bitwise OR operator. It applies it to SDL_HWSURFACE and SDL_FULLSCREEN.
bitwise OR
SDL_HWSURFACE
SDL_FULLSCREEN