online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
// Example program #include <iostream> #include <string> struct Foo { struct Bar { std::uint32_t x = -1; constexpr Bar(std::uint32_t x) : x(x) {} }; static constexpr Bar CONST_BAR = Bar(0); }; int main() { std::cout << "x: " << Foo::CONST_BAR.x << "\n"; }

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