I would like to generate a random number. I have looked on google but the way I found (using rand and srand from stdlib.h) doesn't works.
I would like to generate a random number with two boundaries, say between 1 to 100.
How do I do that? Still I am waiting to receive a book, so I am forced to look online...
Thanks in advance.