online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> #include<string> class tag { public: std::string tag_name; tag* child; }; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ //create object of type tag tag obj; obj.tag_name = "original tag"; std::cout<<obj.tag_name<<std::endl; //create pointer to object obj tag* tag1 = &obj; tag1->tag_name = "tag1"; std::cout<<tag1->tag_name; 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