/////// File Random.h /////// class Random { public: Random(int seed, int mul, int incr); operator -> () { n = (m*n+c) % mod; return(this); } int n; private: int m; int c; }