When I run the application it displays a black Windows application for a split second then closes. Is it a compatibility issue since I am running Windows 7 and it is a 16 bit application? If not can someone help me point out the problem?
I'm not sure if that's it, but I will try it. The SDL_Delay() function keeps the image on the screen for a given amount of milliseconds, so that's why I assumed I did not need a loop to keep it on.
Edit: Even with the loop added the application still closes. I have even tried the system("PAUSE") function after the SDL_UpdateRects() function. Still did not work. :/.