Does anyone knows how I might be able to implement variable arity for functions in C?
For example, a summing function:
Sum(1,2,3,4...); (Takes in a variable
If you're trying to implement variable arity functions look at http://www.cprogramming.com/tutorial/lesson17.html for an introduction.