Primes Generator

Generates a list of primes by the Erasthosnese sieve method. Uses a bitset to store the array of booleans so it uses much less space then a comparable solution.

primes.cpp

[Digg] [Reddit] [DZone]

Leave a comment