阅读背景:

错误:无效操作数到二进制%(有“double”和“double”)

来源:互联网 

I have a program I am writing that lists 100,000 prime numbers. It works fine for 10 numbers, but after so many numbers they turn into negative values. I changed the ints to long ints and that did not change anything, then I changed them to doubles and I get the error listed in the title. What should my variable be? Keep in mind I am still new to programing. I also looked at some previous posts and did not see the answer.I have a program I am writing that lists 100,00




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: