I do not understand the concept of srand. I am using "rand() % 100 + 1" to generate a random number in a range of 1 to 100. Each time I do so it generates the same "random" number, so I guess it is not random then.
Do I use srand to sort this out? What does srand do? I need an explination, not a direction to a C++ reference (they do me no good on this subject).