Newsgroups: sci.math, comp.lang.c, sci.crypt, comp.lang.c++
From: user923005 <dcor...@connx.com>
Date: Tue, 3 Nov 2009 12:36:15 -0800 (PST)
Local: Tues, Nov 3 2009 8:36 pm
Subject: Re: RNGs: A Super KISS
On Nov 3, 12:23 pm, user923005 <dcor...@connx.com> wrote:
I copied and pasted from the wrong file. Here is the correct code [snip] class SuperKiss { private: int refill () public: // Collect next random number: }; int main () { unsigned long i; int x=0; SuperKiss sk; for (i = 0; i < 1000000000; i++) x = sk.SKRand(); std::cout << " x = " << x << std::endl << "Does x=-872412446?" << std::endl; return 0; }
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||