hi c++ geeks
i was wondering if i can pass infinite arguments to my function so i don't want
it to be limited like this for example
1 2 3 4 5
void Example (int a , int b )
{
cout << a << endl ;
cout << b << endl;
}
i don't want to be limited like that .. i just want to pass as many arguments as i want when i call the function and i want the function to print all of my arguments. i know there is a thing called argc and argv but they - as i know - only work with main function and i want them to work also in any function that i declared if it is possible