
I've already written complex programs that have had functions with varying amounts of input, but I've always had vectors to help me....
So for that reason I don't know how to use the ... operator in defining and passing args to a function....
So my questions are:
1) how do I use ... in the defining of a function?
2) How do I know how many args are passed to the function within the ....
3) How do I access the individual variables passed to the function through the ....
4) ASM wise how do I tell how many arguments are passed to the function (how and where are they pushed onto the stack?)
Yah in case you didn't guess I am re-writing the printf function for my OS so it can print variables too...
Thanks in avance,
Jules
P.S: Yes, The first few lines were an attempt to justify myself..., but all true I assure you..., please don't yell at me...
edit: Yah, I forgot to say this is in C by the way...
