online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> class Test{ private: void (*func)(int); public: Test(void (*f)(int)){ this->func = f; } void call(int v){ func(v); } }; void myF(int val){ std::cout<<"My value is "<<val<<std::endl; } int main() { Test* t = new Test(myF); t->call(369); 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