Weird bug in Windows

So, I ran across this over the weekend:

int main () {
    int x = 8;
    
    x++;
    
    printf("X = %u\n", x);
    
    return 0;
}

In Linux, it prints "9", but on Windows, it prints "10". What's going on???

XD

C++ is a high level language.

So your statement is akin to me saying "I put my keys down and now I can't find them, Yet when I was in Australia, I could. What is it with England?"

(Psst... look up! That's a joke going over your head. :wink: )

Ah...

It's like the one about the games in Colloseum being X rated. You weren't allowed to see them until you were 10

:slight_smile: