PlaneShift
Fan Area => The Hydlaa Plaza => Topic started by: Keknehv on December 11, 2004, 07:35:05 pm
-
Hi again all.
As my first (real) project in C++, I decided to port my old BASIC (slow) prime program to C++.
The locations for the two files are:
Source:
http://freewebs.com/keknehv/prime.cpp
Compiled (Win32) program:
http://freewebs.com/keknehv/prime.exe
For all of you linux users... just download the source and run:
user@location:/folder/:c++ -o prime prime.cpp
Any comments or ideas for optimizations or bug reports are appreciated.
EDIT: converted files to links
-
The speed of the program will be greatly inhanced by writing directly the prime numbers into your code in a long array or by having them from a file. ;)
-
lol :P
If you looked at the code, you would find that I already have a few included :D.
But do you really want a 70 MB prime program?
-
Cable companies will love you....
Dialup users will hate you....
So glad i use DSL.
-
I have cable, but they won\'t let me use it for a server :(
Hehe... welcome HTTP port 5080!