title: code blocks 8.02 console program not outputting cout statements with SDL
body: <p>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 &lt;&lt; " SDL \n"; WTF?</p>
  
  <p><pre>
  <code></p>
  
  #include &lt;iostream&gt;
  #include &lt;SDL.h&gt;
  using namespace std;
  
  int main(int argc, char *argv[])
  {
      cout &lt;&lt; " SDL \n";
      cout &lt;&lt; endl;
  
      if(SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO) == -1) {
          cerr &lt;&lt; "Failed to initialize SDL: " &lt;&lt; SDL_GetError() &lt;&lt; endl;
          exit(1);
      }
      atexit(SDL_Quit);
      system("pause");`
      return 0;
  }
  </code></pre>