Hey, I know there is a function that can except X number of arguments and add up the sum of them...similar to the way printf works, only it can take integers. Does anybody know the name of this function, and how in the world you use it. I remember reading a tutorial somewhere before...it had something to do with a protocal like this.
Code:
void function(int number, ...);
and then you had to do a whole bunch of other stuff..which i can't remember what other stuff. Actually now that I think about it, this function only allows you to accept X number of arguments, you can just add them all up.