Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!dali.cs.montana.edu!milton!bose From: bose@milton.u.washington.edu (Rob Olsen) Newsgroups: comp.sys.mac.programmer Subject: ANSI and MacTrap in THINK C Message-ID: <16681@milton.u.washington.edu> Date: 19 Feb 91 00:03:59 GMT Organization: University of Washington, Seattle Lines: 6 I'm writing a simple poker game to practice using C. At first I used rand() and srand(clock()) for random numbers and it worked ok. Now I want to use GetDateTime(&randSeed) and Random() with printf(), but for some reason I get the same set of random numbers everytime. Is there a way to use Random() and ANSI stdio at the same time? Or should I just forget about Random() and just stick with rand()?