utilize a vector, but is it also possible to somehow stuff the variables into 
"arg" and quit(arg) ? Or is that a bad idea?

If arg is meant to be the arg function, no.

Other choices would be a map or a structure.  

IN any case, tricky to create and return vectors,  without having them freed, I 
suspect.  Probably have to create the vector in the caller, and resize as 
needed.

Reply via email to