PDA

View Full Version : How to do that ?



Unregistered
07-14-2002, 11:43 AM
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 ?

sean345
07-14-2002, 05:23 PM
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

Unregistered
07-14-2002, 06:37 PM
Originally posted by sean345
you could try something like gotoxy.

Can you please show me an example ? Or any tutorial/doc explain that ?