Thread: How to do that ?

  1. #1
    Unregistered
    Guest

    How to do that ?

    Hi, everyone
    I'm coding at a client program which can download something at a server.
    Now, I want to display the percentage of the progress, just like this:

    client>download abc.exe
    downloadling...
    45% finished

    I want the number changing instantly, and display, like what FlashGet does.

    How to do that ? which file to be included ?

  2. #2
    Registered User sean345's Avatar
    Join Date
    Mar 2002
    Posts
    346
    If you only want to display this:
    client>download abc.exe
    downloadling...
    45% finished
    Then just printf this to the screen and then when the percentage changes, clear the screen and print the new information. If that does not work, you could try something like gotoxy.

    - Sean
    If cities were built like software is built, the first woodpecker to come along would level civilization.
    Black Frog Studios

  3. #3
    Unregistered
    Guest
    Originally posted by sean345
    you could try something like gotoxy.
    Can you please show me an example ? Or any tutorial/doc explain that ?

Popular pages Recent additions subscribe to a feed