online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> using namespace std; int main() { cout << "Int width = " << sizeof(uint64_t) << "\n"; // Gives 64 bits on my computer int n = 64; uint64_t y = ((uint64_t)1 << n) - 1; cout << "y = " << y; uint64_t x = ((uint64_t)1 << 64) - 1; cout << "\nx = " << x; return 0; }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue