So I am creating a C++ project and I am fine tuning the beta. I have 10 different functions that run in a row, but I would like to make them run in a random order each time I run the program.
I had the idea of doing this with a random number generator and a switch/case statement but I am not sure how to do this...
All help
you should create a random number generator and then give each of you case:'s in the switch statement a number. make sure the number generator only generates from 1 to 10 then make your generator feed a number into the switch.