In a Windows Console Application, how do i output a random number out of certain numbers (e.g. 1 to 50) And if i want to output another say 5 random numbers how do i make it so the numbers are not the same as the ones outputed earlier??
So if i wanted to output 5 random numbers, between 1 and 50, and i do not want then to be the same, how do i do it?? is there a function in the standard C++ library for it??
P.S. I use Microsoft Visual C++ 6
ciao, and please help.....