+ 1
How to select random things of an array.
I think it might be rand() but when I use it it won't work.
1 Answer
+ 1
You can "#include <cstdlib> using namespace std;", then use "rand() % length_of_your_array".
I think it might be rand() but when I use it it won't work.