OK, this question is so simple it's embarrassing. I used to call GetDateTime(&RandSeed) way back in OS 9 to randomize the seed that generates random numbers. I have no idea how to do this in Carbon now using XCode in OS X. I tried srandom(time(NULL)); to no avail, and srandomdev(); also. No matter what I do, I get the same sequence of random numbers when I launch the program. Anyone know how to do this in C?