Most use time and try to obfuscate it beyond recognition with formulas...no idea if there's a "standard" formula for it though. Use "include ctime" and use srand(time()) . (Just search for random number generator in google and you can probably find source code for one...)
If you're trying to figure out how to cheat at poker games you'll have to figure out what formula they're using [laugh] .
modified on Thursday, July 10, 2008 4:11 PM