Mind just checking this code out for me? It should compile fine and generally be error free, although I'm realeasing it on my website, and I dont want there to be too many nastys in it. If there is a better way of doing things, please do let me know. It's a simple random number generator.
Code is here: http://www.jwread.com/projects/randgen.cpp