I'm looking to create a function for my parsing algorithm which acts in a manner similar to scanf and printf, in that it can take an undetermined amount of variables.
printf("", a, b, c, d, e, ...);
how would I go about creating a function like this?