#import #include "Random.h" #include int main(int argc, char ** argv) { NSAutoreleasePool * pool; int exitCode; struct timeval now; pool = [[NSAutoreleasePool alloc] init]; gettimeofday(&now, NULL); sdrand(now.tv_usec); exitCode = UIApplicationMain(argc, argv, nil, nil); [pool release]; return exitCode; }