online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include "global_var.h" int main() { return 0; }
#pragma once #include <iostream> struct s_parent_for_global_var { s_parent_for_global_var() { std::cout<<"s_parent_for_global_var(), this=="<<(void*)this<<'\n'; } }; struct /*s_global_var*/:public s_parent_for_global_var { }inline global_var;
#include "global_var.h"
#include "global_var.h"

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