im currently using the SDL-devel-1.2.13-mingw32 library in code blocks 8.02. with the mingw 5.1.6 installed separately on C:\ this program compiles and runs with no errors but i can't see the last system("pause"); on the screen. When i press any key, it of course skips over the system("pause"); then code blocks tells me that it successful ran. It also doesn'w show the cout << " SDL \n"; WTF?
#include <iostream>
#include <SDL.h>
using namespace std;
int main(int argc, char *argv[])
{
    cout << " SDL \n";
    cout << endl;
    if(SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO) == -1) {
     cerr << "Failed to initialize SDL: " << SDL_GetError() << endl;
     exit(1);
    }
    atexit(SDL_Quit);
    system("pause");`
    return 0;
}