hi

I'm programming in c, and crearing a progress bar

i.e :

while(!done)
{
..
..
printf("#")
..
..
}

the problem is that printf does not sync it's buffers until a newline
so no progress bar is displayed until the job ends.


how do i solve this ?



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to