online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> #include "other.h" int main() { std::cout << constant << std::endl; print(); }
#include "other.h" #include <iostream> constexpr int constant = 42; void print() { std::cout << constant << std::endl; }
#pragma once extern const int constant; void print();

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