diff options
Diffstat (limited to 'random.h')
-rw-r--r-- | random.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/random.h b/random.h new file mode 100644 index 0000000..2050414 --- /dev/null +++ b/random.h | |||
@@ -0,0 +1,14 @@ | |||
1 | #ifndef RANDOM_H | ||
2 | #define RANDOM_H | ||
3 | |||
4 | #include "random.cpp" | ||
5 | |||
6 | //guarenteed no loop with length < 150 when less then 5000 times called | ||
7 | int randn(); | ||
8 | |||
9 | //seed with number from 0 to 672 | ||
10 | void srandn(); | ||
11 | |||
12 | |||
13 | |||
14 | #endif | ||