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

3×1,423 Posts

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 (5.0 KB, 190 views)
Mini-Geek is offline   Reply With Quote