srand() "seeds" the random number generator (i.e. rand()).
If you call srand(100), then call rand() 10 times, then call srand(100), then finally call rand() 10 more times, you'll get the same set of 10 random numbers both times.
The reason you are getting the same "random" numbers is probably because the "seed" number is always the same at program start.
To get different random number each run, try srand(GetTickCount())
GetTickCount() returns the number of millisecs since the computer started.
HTH