// Header for a random number generator
// similar to the system srand(), rand(), RAND_MAX.
//
// To use it, 
//   (1) first initialize the seed with
//
//           jims1Srand(put_some_number_here);
//
//   (2) successive calls to jims1Rand() will
//
//           r = jims1Rand();
//       will return a pseudo random 
//       integer from 0 to jims1GetRandMax()-1.
//

#ifndef JIMS1RAND_H
#define JIMS1RAND_H

int jims1GetRAND_MAX();
void jims1Srand(unsigned int seed);
int jims1Rand();

#endif


syntax highlighted by Code2HTML, v. 0.9.1