|
Are all your variables of the same class? If they are, you can pass an array or vector. There might be a data type (lists, collections....) that allows you to group objects of different classes but as far as I know, it isn't possible. I had this problem in a project recently that required storing information in a database. We ended up creating a temporary table that stores the variables until we need them.
|