Moderators: They make you lose count(Longest thread still alive!)

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord
114 @lenscas I know Linux uses X; but I'm running OSX, which doesn't. No idea what it does use, but programs based on X just don't work. To make them work, I had to install this thing called XQuartz, which basically creates an X environment that allows things like Inkscape and ssh -X to work. Which would be OK, except it runs at half the resolution as my screen, occasionally breaks with Apple software updates, and is generally annoying.
 
for(int i = 0; i <= 2; i++) {
printf("%d", 2^i);​
}

Wait, what? Why the heck is that printing out 230?
I blame ^ not doing exponentiation in C. It's probably a bitwise XOR or something.