E
eomer
Hi,
I have a 2 dimensional array of integers:
int vals[][] = {{1,2,3,4,5},{1,2,3,5,4},{1,2,4,3,5};. This array would
be in my main class.
Assume that I have a class named Permutation. Each object of type
Permutation would have 5 integers passed to it upon instantiation and
then do something with those 5 ints.
My question is how do I use the vals[][] array to instantiate 3 new
objects of type Permutation?
Thanks in advance for your help.
I have a 2 dimensional array of integers:
int vals[][] = {{1,2,3,4,5},{1,2,3,5,4},{1,2,4,3,5};. This array would
be in my main class.
Assume that I have a class named Permutation. Each object of type
Permutation would have 5 integers passed to it upon instantiation and
then do something with those 5 ints.
My question is how do I use the vals[][] array to instantiate 3 new
objects of type Permutation?
Thanks in advance for your help.