how to see output

Sahara
2013-05-03
2013-05-05
  • Sahara
    Sahara
    2013-05-03

    I have the dev c++ downloaded and ready to use. When I compile and run and program I can't see the output. How do i get the output to not just flash by, but get it to where i can see it?

     
    • Mattias Grosse
      Mattias Grosse
      2013-05-05

      Try system("PAUSE"); before return 0; with #include "stdlib.h"
      or getchar(); with #include "stdio.h". See also Introductions in C!