I want to do something like this :
bool val = false;
bool val1 = false;
...
void function(&val,&val1,...)
{
val = false;
val1 = true;
val15 = false
...
}
I know how to pass a variable number of arguments to a function (va_arg) however i don't know how to do the same with references. Thank you for your help and i'm sorry for the stupid question.
Aucun commentaire:
Enregistrer un commentaire