On 05/06/2011 06:10 PM, Markus Armbruster wrote:
Here's my try:
/*
* Report progress.
* @percent is how much progress we made.
* If @max is zero, @percent is how much of the job is done.
* Else, @percent is a progress delta since the last call, as a fraction
* of @max. I.e. delta is @percent * @max / 100. This is for
* convenience, it lets you account for @max% of the total work in some
* function, and still count @percent from 0 to 100.
*/
My personal preference is to use fractions of 1 in the code and only
covert to percentages during actual output.
--
error compiling committee.c: too many arguments to function