Menu

how to see output

Sahara
2013-05-03
2024-09-30
  • 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!

       
  • leoniefishe

    leoniefishe - 2024-09-30

    I have Dev C++ installed and ready to use, but when I compile and run a program, the output window flashes by too quickly for me to see the results. How can I make the output window stay open long enough for me to view the program's output? Is there a specific method to pause or delay the closing of the console so I can review the results properly?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.