View Single Post
Old Mar 20th, 2005, 12:12 AM   #2
gardon
Programmer
 
Join Date: Dec 2004
Posts: 87
Rep Power: 4 gardon is on a distinguished road
hmmm... well a long way would be to incorporate all the prime numbers into a function, and if it matches that in the function then it's prime (from the number the user entered)

really long time to make something like that, or...





cheat and write the mat.h library header into a function and use it in your assignment
gardon is offline   Reply With Quote