PurePrimes

Developed or developing a new product in PureBasic? Tell the world about it.
Killswitch
Enthusiast
Enthusiast
Posts: 731
Joined: Wed Apr 21, 2004 7:12 pm

PurePrimes

Post by Killswitch »

In order to help myself with some homework I've written a small application which can find all of the prime numbers between two given numbers. You can even save a text file with all of the prime numbers in!

Maybe it'd be of some use to one of you...



Download - inlcudes source
~I see one problem with your reasoning: the fact is thats not a chicken~
User avatar
Droopy
Enthusiast
Enthusiast
Posts: 658
Joined: Thu Sep 16, 2004 9:50 pm
Location: France
Contact:

Post by Droopy »

Zip file = 0 bytes !
Killswitch
Enthusiast
Enthusiast
Posts: 731
Joined: Wed Apr 21, 2004 7:12 pm

Post by Killswitch »

Sorry about that, I was having real problems with my FTP client. Anyway, the download is working now!
~I see one problem with your reasoning: the fact is thats not a chicken~
Sub-Routine
User
User
Posts: 82
Joined: Tue May 03, 2005 2:51 am
Location: Wheeling, Illinois, USA
Contact:

Post by Sub-Routine »

That is such a clean programming example that I would have no hope without it :)

Thank you,
Rand
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

its very clean yeah. Nice!
Killswitch
Enthusiast
Enthusiast
Posts: 731
Joined: Wed Apr 21, 2004 7:12 pm

Post by Killswitch »

Thanks guys, but I'm a bit unsure as to what you mean by 'clean'...
~I see one problem with your reasoning: the fact is thats not a chicken~
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

Clean: Its easy to read. Good programming=clean sources :)
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

Clean: Nicely written, easy to follow, good code.
.. OR
Clean: Hygenic. Wipes its bum properly, washes it's hands afterwards.
.. OR
Clean: Look officer, no drugs!

I'm betting the first one. :) I think it is nice and clean.

Heya, the fool. Too fast!
@}--`--,-- A rose by any other name ..
Killswitch
Enthusiast
Enthusiast
Posts: 731
Joined: Wed Apr 21, 2004 7:12 pm

Post by Killswitch »

Thanks :D! I always thought my coding style was a bit sloppy! This means a lot to me, thanks!
~I see one problem with your reasoning: the fact is thats not a chicken~
Sub-Routine
User
User
Posts: 82
Joined: Tue May 03, 2005 2:51 am
Location: Wheeling, Illinois, USA
Contact:

Post by Sub-Routine »

Clean = Pure

:D
Post Reply