inputing multiple prototypes in program

So I have to write an averaging program using lists but for ints and doubles when I write the prototype headers to be used and pull from the lists above main the first reads the va_list fine but cant read from any other list please help or refer to what I should do differently?
dint undestood ur problem properly.
You can use function templates for averaging. If you are using va_list, you need to use va_args repeatedly to fetch other values and you will also require to know the type of value.
Topic archived. No new replies allowed.