tried a few different versions but cant get it working , could you provide an example please?
int RandIndex = rand() % 3; //generates a random number between 0 and 3
not actually generating a number between 0-3 just the same number (the max it will allow) rand() % 3 will allow 2, 4 does 3 etc so how can I get it to randomize not just do the max..
Fixed, I didnt include srand (time(NULL));, initialized and working now :)