#include #include //for the iomanipulator setw #include #include //for the function time #include "myrandom.h" using namespace std; int main() { const time_t t {time(nullptr)}; //number of seconds since Jan 1 1970 const long unsigned lu {static_cast(t)}; myrandom r {1}; //or use lu instead of 1 for (int i {0}; i < 10; ++i) { cout << setw(2) << i << " " << setw(5) << r.rand() << "\n"; } return EXIT_SUCCESS; }