Thread: output screen

  1. #1
    Unregistered
    Guest

    output screen

    whenever i execute a program in c the output screen appears for less then a second and then disappears.what to do????

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    click start -> click run -> type command -> click ok

    Now run your program.

    Otherwise, modify the .pif (or create one) so that it doesn't close when the program exits.

    Otherwise, add a "fgetc(stdin);" right above the final return in your program.

    Quzah.
    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Direct output to screen
    By maxorator in forum Windows Programming
    Replies: 2
    Last Post: 10-30-2006, 03:00 PM
  2. blank output screen !!
    By samirself in forum C++ Programming
    Replies: 4
    Last Post: 05-02-2005, 08:26 AM
  3. Need help fixing bugs in data parsing program
    By daluu in forum C Programming
    Replies: 8
    Last Post: 03-27-2003, 06:02 PM
  4. Control different DA output value!
    By Hunterhunter in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 03-13-2003, 12:11 PM
  5. dos output screen
    By niroopan in forum C++ Programming
    Replies: 1
    Last Post: 09-15-2002, 09:03 AM