
Need Help: random # from system time
Quote:
>I was wondering if there was a way to use the system time to generate random
>numbers. If so, could someone please email me with a way to do it. I need
>it to process a Monte Carlo simulation for a Graduate project.
Read the FAQ, available from rtfm.mit.edu/pub/usenet-by-group/comp.lang.c
Read your manual, available at your local bookshelf
Read your on-line help, available at your keyboard/screen
Check rand() and srand().
A graduate student should know how to look in his manual. Even a
freshman should.
--