Say I have a vector for the Students class, but the question requirement is that I cannot map the class in the constructor, so I have to get around it.
Is it possible that I have two values in one vector slot?
For example, the Student class and the string class are my arguments.
vector<Student*, string> Students;
So, at the end of the day, if I turn off the vector, I have to get Student AND grade in one slot.
It works? If so, how do I click_to calculate a value?
Otherwise, is there any other way to do this?
source
share