Thread: another quikie from the ammature

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    10

    another quikie from the ammature

    HI


    My question ins simple. How do I stop the program i wrote to stop scrolling during execution?
    thanks
    steve.

    p.s. It's main is a case structure.

  2. #2
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    As a programmer... nothing gets put on the screen unless you put it there. Only print a screenful at a time then ask for a keypress or something.
    one poss. exception is something like this....
    system("dir");

    this will list the files in the current directory and will overrun the screen if there are too many files but in this case it can be dealt with by a parameter to dir (just like in dos) like this
    system("dir /p")
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

Popular pages Recent additions subscribe to a feed