Quantcast
Channel: CodeGuru Forums - Visual C++ Programming
Viewing all articles
Browse latest Browse all 3029

Prime Numbers

$
0
0
I wouldn't be suprised if this question had been posted earlier. But i would like to streamline it a little bit so that i get to know what i m trying to find out......

So if i write a Loop to calculate Prime Numbers in order, is there any way possible for this to happen in a shorter period of time.

the loop that i constructed took about 11hrs on a Win 7 2GB ram machine to calculate about 150,000 primes, could this be done any faster................


Thanks again for any inputs whatsoever.

Viewing all articles
Browse latest Browse all 3029

Latest Images

Trending Articles



Latest Images