Menu

Delay Message Displayed

Valerie
2009-03-06
2012-09-26
  • Valerie

    Valerie - 2009-03-06

    Hi all,

    I can't seem to see the results displayed on the dos prompt because it happens so fast. Is there any code i could use to delay the message so i can see the output values? Here is the code i used but it doesn't seem to work:

    include <stdio.h>

    int main(int argc, char argv)
    {
      printf ("Press ENTER to continue.\n");
      getchar (); /
    wait for input
    /
      return 0;
    }

     
    • Valerie

      Valerie - 2009-03-06

      Just found a good link for the FAQs after i posted and solved my problem. Thanks for looking!

       

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.