I recently coded a program called find the hurkle where the program used 2 random numbers to assign the 'hurkle' a place in a 2 dimensional array, and the user had to enter numbers to guess the location of the hurkle. The program would then tell the user to either enter a higher or lower number if the guess was wrong. The only problem with this program was that the rand() function always generated the same 2 numbers when the program was run, ALWAYS!! I do not understand why a random number generator would do this! Can anyone help me with this? .