variable argument list in windows va_list
Posted
by shrikant
on Stack Overflow
See other posts from Stack Overflow
or by shrikant
Published on 2010-05-07T04:13:00Z
Indexed on
2010/05/07
4:18 UTC
Read the original article
Hit count: 199
hi,
I wanted to have function which will accept as
foo(...) {
}
usage of this would be
foo(1,2,3); foo(1) foo(1,2,3,4,5,5,6);
va_list can be used but again for that I have to pass foo(int count, ...), as this at run time i dont know how many argument i have.
any pointer would be appreciated
Thanks
© Stack Overflow or respective owner