online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
/// Example program #include<cstdint> #include<iostream> static union { uint64_t val_64; uint8_t b[8]; }; int main() { val_64 = UINT64_MAX; for (auto i = 0; i < 7; ++i) { std::cout << (uint32_t)b[i] << std::endl; } system("Pause"); 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