Bob John
January 4th, 2009, 02:23 AM
I wrote a program to judge a number is prime or not.
"prime" here means a number that can only be divided by itself or one.
When I compiled it by gcc , the error message came up.And I do not very understand the message , so the compiling progress always can't complete.I checked and checked , modified and modified ,but I can't accomplished all the time.
Could you please help me to correct it?
Thank you .
Here is the source code , written in C :
98624
Here is the error message provided by gcc :
98625
"prime" here means a number that can only be divided by itself or one.
When I compiled it by gcc , the error message came up.And I do not very understand the message , so the compiling progress always can't complete.I checked and checked , modified and modified ,but I can't accomplished all the time.
Could you please help me to correct it?
Thank you .
Here is the source code , written in C :
98624
Here is the error message provided by gcc :
98625