943,972 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 2427
  • C RSS
Aug 17th, 2005
0

Prime Numbers

Expand Post »
:cry:
i'm so confused right now,
can any one help with this?

defining a functoin

bool prime (int n)


which prints 10000 prime numbers
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
RITZY_G is offline Offline
10 posts
since Jul 2004
Aug 17th, 2005
0

Re: Prime Numbers

try your favourite search engine.
wikipedia also has an excellent article on prime numbers complete with explanations of the most popular algorithms.
None are particularly difficult to implement and I'm pretty sure your teacher wants you to do your own homework rather than submit something written by someone else.
You're there to learn something after all.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: Word and Letter Count
Next Thread in C Forum Timeline: A C based Program to get the Details of the user in Unix





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC