online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> #include<map> #include<string> #include<vector> template <typename callBackOne, typename callBackTwo> class MyClass { // The class public: callBackOne cbo; callBackTwo cbt; MyClass(callBackOne cbop, callBackTwo cbtp){ cbop(); cbtp(); } }; void voidFuncOne() { std::cout<<"funcone called"<<std::endl; } void voidFuncTwo() { std::cout<<"functwo called"<<std::endl; } //------vvvvvvvvv--vvvvvvvvv--------------------------------->template arguments changed from void to void(*)() MyClass<void(*)(), void(*)()> test(voidFuncOne,voidFuncTwo); int main() { 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