Trivial? Pixels to the screen

You can load your pixel array to texture with SDL_UpdateTexture function: http://wiki.libsdl.org/SDL_UpdateTexture