User profile: gameprogrammer

User info
User name:gameprogrammer
History
Joined:
Number of posts:18
Latest posts:

Where's the problem in my simple code?
My compiler tells me there's an error in the 24th line: "invalid suffix on "x" on integer constant"....

Why does this code work that way?
Here's my new code and the output I get by running the program: [code]#include <iostream> #include ...

Why does this code work that way?
So how would you actually go about changing this line [code]if ((2^(i-1)+3)%i==0) {[/code] of the ...

Why does this code work that way?
I've edited the post. I don't quite understand your second paragraph, though. I'm a beginner and th...

Why does this code work that way?
I want to find a code that would search for a natural number n>1 such that satisfies [quote]n | 2^...