I'm trying to use rand() to produce a random number, however, the result of this function is the same everytime I run the program...here is my code...simple:
the problem was that I needed to get a new set of random numbers when "the game is reset" not only when the "program restarts." i added an srand() call when the program is reset instead of when RNDCRD() and RNDSUIT() are called...it seems to work. just not sure why...what does srand() do exactly?