#include <stdio.h>
#include <stdlib.h>
#include <sys/timeb.h>
#include <iostream>
#include "random.h"
Functions | |
double | RANDOM (void) |
int | Seed (int seed) |
long | RandomNumber (long max) |
void | AskSeed (void) |
int | Randomize (void) |
|
Interactively ask for the seed
|
|
|
|
Make a random seed based on the local time
|
|
Returns a random integer value between 1 and 'max'
|
|
|