randomly generate a vector and list

Apr 26, 2017 at 3:28am
how do i do this?

i cant do it like an regular array
1
2
//wrong
arrayvector[i] = rand()%6;
Apr 26, 2017 at 3:40am
Topic archived. No new replies allowed.