I'm a new C++ programmer, and wanted to do the following:
1. Fill a 1D array with values;
2. randomly_shuffle those values...
3. a number of times, which I'll get via cin (x number of times, an int)
4. and then, put all of those shufflings back to back. so, for example:
if the array was 1, 2, 3, 4, 5
and I chose "4" as the number of times, the output would be
4 5 1 2 3 3 2 1 5 4 5 4 3 2 1 2 1 3 5 4
(no, this is not homework I'm asking anyone to do, just trying to develop a quick and easy bootstrap program for my own use.)
Thanks sincerely for any help -