i didn't know exactly where to send this, so i sent it here.

i'm new to this prime number scene, and i was wondering if there was some
old c++ source code lying around anywhere that anyone knew of that you
wouldn't mind tossing my way.  i've been writing a simple math program,
for experience, fun, and to aid my sisters, and i thought i'd put in a
prime number function.  i know (or at least my understanding is) that to
find all the primes less than a number you get rid of all the multiples
of the sq rt of that number.  then you're left with primes.  well i've
been racking my brains and i can't think of exactly how to do that in
c++.  i'm a first-yr programmer, (17 & still in hs), and it's not
surprising to me that i can't figure it out.  right now.  that's why i
was wondering if there was some code around.  i don't want to copy it.  i
want to learn from it.  DriverDown......Brandon Whitehead       
[EMAIL PROTECTED]

ps my version of juno doesn't support attatchments, so please don't send
one or i won't get the message.  thanks

___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]

Reply via email to