I was wondering if there was a way to create a random number between a certain range in C++. I need to use this for a game I am building. Any help is appreciated.
This points you to the rand function, which is within cstdlib. Just include it, call srand(NULL) (This changes the seed so it's more random than having a constant seed, which occurs if srand() isn't used.)
Then you call rand() %(range+1) + shiftAmount (which is the lowest value possible)