Thread: help

  1. #1
    Registered User mill1000's Avatar
    Join Date
    Nov 2001
    Posts
    43

    help

    how do i tell the computer to pause so i cant read the results

  2. #2
    Registered User
    Join Date
    Dec 2001
    Posts
    421
    use the function call

    PleasePauseForResultReading();



    Please note: heavy sarcasm.

    Your question is so broad that it's near impossible to answer. How about you tell us what you are trying to do?? what OS? are you programming GUI or console?? SOMETHING that may allow us to help you.

    essentially, no matter what you are doing, YOU are the one who tells the code to do something, so if you want it to read results, then code it so that it does it!!!

    I finding it hard to understand your problem, even with a little imagination!

    U.
    Quidquid latine dictum sit, altum sonatur.
    Whatever is said in Latin sounds profound.

  3. #3
    Registered User
    Join Date
    Dec 2001
    Posts
    421
    AH!! i think i might have just understood what you want!!

    do you mean:

    "how can i stop the program from printing results out on the screen so that i can read them??"

    is that what you meant?? if so, then lookup getchar().... use that function to wait for a keypress before continuing.

    U.
    Quidquid latine dictum sit, altum sonatur.
    Whatever is said in Latin sounds profound.

  4. #4
    Registered User
    Join Date
    Dec 2001
    Posts
    32
    Is your program a console program that prints more information than can fit on the screen?Then you can also use the MORE switch to pause the screen output after one page.

    It is used like this:

    c:\>programname.exe|more

    I use this when there is a lot of debug code that is also printed.

    Seron

  5. #5
    Registered User mill1000's Avatar
    Join Date
    Nov 2001
    Posts
    43
    ok my program is a consol program it calculates how much you weight on diffrent planets when i run it all it does is shut down beore i can read the results

  6. #6
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823
    int main(void)
    {
    //Prog stuff
    getch();
    return 0;
    }

  7. #7
    Registered User mill1000's Avatar
    Join Date
    Nov 2001
    Posts
    43
    cant i use system.pause or some thing but ui forgot how to use system.pause

  8. #8
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212
    FA-Q
    (it has a section on pausing)

  9. #9
    Registered User mill1000's Avatar
    Join Date
    Nov 2001
    Posts
    43
    that does nboyt help stupid

  10. #10
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Originally posted by mill1000
    that does nboyt help stupid
    Dont call someone stupid cuz you are too damn lazy to read through the FAQS.....the info is there cuz we get morons like you posting this question every week

Popular pages Recent additions subscribe to a feed