#include <random.h>
Public Methods | |
| Randomizer (void) | |
| Value (int limit) | |
Private Attributes | |
| time_t | seed |
Friends | |
| int | operator * (Randomizer R, int limit) |
|
|
Definition at line 25 of file random.c. References seed.
|
|
|
Definition at line 37 of file random.h.
00037 { return (rand () % limit); }
|
|
||||||||||||
|
Definition at line 38 of file random.h.
00039 { return R.Value (limit); }
|
|
|
Definition at line 34 of file random.h. Referenced by Randomizer(). |
1.2.15