I am working on my set/multisets lab for school. The lab that I am working on is a Lottery lab. My instructor said he created his contestants objects that have a vector of their ticket numbers. For example an individual object has a vector that holds 5 ints. But I am bit confused on how he is doing this. I believe that the vector for each object when generated is being done so as a class member function. So I don't think he is doing something like:
For the lab I need to randomly generate x amount of contestants. I have a class for my contestants and for each of the contestant objects they each will have a vector to hold their 5 ticket numbers. I hope this helps out.