generating random numbers

hi
I'm trying to generate two different random numbers in the same function but it only generates one random number and assigns the same number to each different variable how am i going to pick two diferent random numbers in same function

help pleasee!!
One thread per question, please.

http://www.cplusplus.com/forum/beginner/82972/
Topic archived. No new replies allowed.