#ifndef MYRANDOMH #define MYRANDOMH //An object of this class generates a series of random numbers. class myrandom { unsigned long next; public: myrandom(unsigned initial_next = 1) {next = initial_next;} int rand(); }; #endif