home *** CD-ROM | disk | FTP | other *** search
- * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
- * The C++ Answer Book */
- * Tony Hansen */
- * All rights reserved. */
- oid srand48(long);
- ong mrand48();
- include <stream.h>
-
- ain()
-
- cout << "int randints[] =\n{\n";
- srand48(31415926);
- for (int i = 0; i < 10000 - 1; i++)
- cout << " " << mrand48() << ",\n";
- cout << " " << mrand48() << "\n";
- cout << "};\n";
- return 0;
-
-