What is this ... thing and how to you access it in the function body?
Code:
void fn(...)
{
}
Printable View
What is this ... thing and how to you access it in the function body?
Code:
void fn(...)
{
}
It's for variable argument lists. If you're using C++, then try to avoid ever using it. If you're using C, then try to avoid ever using it, but if you have to then look up VA_ARGS.