(C) Simulated progress bar
From: Paul Fedorenko (pfedorenko_at_look.ca)
Date: 11/14/04
- Previous message: MJH: "timing code execution"
- Next in thread: Fahst Dek: "Re: (C) Simulated progress bar"
- Reply: Fahst Dek: "Re: (C) Simulated progress bar"
- Reply: B. v Ingen Schenau: "Re: (C) Simulated progress bar"
- Reply: Chris \( Val \): "Re: (C) Simulated progress bar"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 13 Nov 2004 22:45:32 -0500
My friend, the psychologist, who asked me to put together a little program
for him has asked me if I could get the program to pause for a second
between turns and to display a progress indicator to make it look like the
program's running some calculations in the background.
I'm thinking the progress bar would be fairly straight-forward... Just a
for loop, set up to display a bunch of hashmarks or ASCII block characters
one at a time... How would I get it to take a second or two to run through
the loop? That sounds like an awfully long time.
- Previous message: MJH: "timing code execution"
- Next in thread: Fahst Dek: "Re: (C) Simulated progress bar"
- Reply: Fahst Dek: "Re: (C) Simulated progress bar"
- Reply: B. v Ingen Schenau: "Re: (C) Simulated progress bar"
- Reply: Chris \( Val \): "Re: (C) Simulated progress bar"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
Loading