Random numbers

How can i generate random numbers(from 1 to n) without using any inbuilt functions like rand().
Write your own RNG.
do a search for c-snippets, they include a relatively good random number generator in C
Topic archived. No new replies allowed.