O_o
You did "reseat" the range. I'll give you that.
Note: I've omitted range/error checking.
Soma
int random(int min, int max)
Type: Posts; User: phantomotap
O_o
You did "reseat" the range. I'll give you that.
Note: I've omitted range/error checking.
Soma
int random(int min, int max)
The macro `RAND_MAX' is provided to "tell" the program/programmer the highest value `std::rand' can naturally generate. You can use an outside implementation or "reseat" the range.
The...
std::cout << RAND_MAX;
Soma