online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
class A{ public: class B{}; }; template<typename T> class wrapper{ public: T data; }; template<typename T> class wrapped_B{ public: A::B data; }; void OnStart() { A::B a; // OK wrapper<A::B> b0; // 'B' - unexpected token, probably type is missing? 'data' - semicolon expected wrapped_B<A::B> b2; // OK class local_B : public A::B{}; wrapper<local_B> b1; // OK } int main(){ OnStart(); 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