View Single Post
Old 2010-10-13, 20:33   #9
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17·251 Posts
Default

Quote:
Originally Posted by henryzz View Post
Nice program. Could you make it ignore header lines(or read the stuff from them)?
Done, attached, along with cleaner and slightly-commented code. Run it without any arguments to see how it works now. In short, "java -jar calcPrimes.jar filePath [sieveDepth]" where filePath is a NewPGen-like file with a header with the necessary info, and the sieve depth can optionally be manually set by sieveDepth.
Attached Files
File Type: zip calcPrimes.zip (5.0 KB, 174 views)
Mini-Geek is offline   Reply With Quote