Hello,
We all know that in print function, we use \n to move to the next line.
But \n also clears the buffer.
So if you have different printf statements without \n at different
places in the source code, the whole thing will be printed together.
I faced this when trying to write a program that can find the prime
factors of any number.
The whole thing came to screen together tho' the statements are in a for
loop taking considerable amount of time.
So can you tell me how to clear the buffer and remaining in the same
line at the same time.
Regards 
Arko



--
To unsubscribe, send mail to [EMAIL PROTECTED] with the body
"unsubscribe ilug-cal" and an empty subject line.
FAQ: http://www.ilug-cal.org/node.php?id=3

Reply via email to