Sets

You have two tasks.  You should convert the programs seive.cc and filesize.cc to use a set class that you create. 

You can find the input to filesize.cc at filesize-input.txt

You can find the answers at filesize-answers.txt, and at list-of-hundred-primes.txt and list-of-million-primes.txt.

Please note that the filesize program as written reads from it's stdin.  Therefore, one might run it like this:
    ./filesize > filesize-answers.txt < filesize-input.txt


This program is due on March 31st, and you lose 5% per day for every workday thereafter.