primality testing!

i submit to you, oh blog of olde, this code i have thus written.

calculate it will, the heavenly steps of prime

and lay for you, a journey enchanted upon which clouds lay,

dare you follow, and wipe clear the fabric of which things forged.

prime.rar

2 Comments so far

  1. Torrey on June 11th, 2008

    To keep that console from disappearing you could use a command like this before the return:

    system(”pause”);

    You really spent 10 hours on this?

  2. william on June 12th, 2008

    ah ok cheers, that comment shouldn’t be there, as I fixed it. Just needed to keep the loop running, as without an IDE the console display loop doesn’t automatically continue.

    10 hours includes the whole assignment… this was just half of it……

Leave a reply