I have my two classes built, one actually uses the other as a data member. Now I need to call that object to fill an array and don't know the syntax to do it.
The two classes are in this thread
The function prototype looks like this
void statistics (int rollarray, int rollarraysize, int rollresults);
I'm trying to call the threedice object to fill the rollarray, and then I was going to use a switch statement to "sort" that data into the rollresults array.