how do i determine if a number is prime or not in C++?
dan_e6
0
Light Poster
Recommended Answers
Jump to Posthow do i determine if a number is prime or not in C++?
There's no standard C++ function to my knowledge to test whether a number is prime or not. There may be one in an optional library such as the boost libraries. There are lots and lots of related …
All 3 Replies
VernonDozier
2,218
Posting Expert
Featured Poster
Prabakar
77
Posting Whiz
William Hemsworth
1,339
Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.