online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> using namespace std; class Employee { /*These are attributes of a Employee class*/ public: string Name; string Company; int Age; /*This is a method of class*/ void IntroduceYourself() { cout<<"Name - "<< Name << endl; cout<<"Company - "<< Company << endl; cout<<"Age - "<< Age << endl; } /*This is user-defined constructor of class*/ Employee (string name, string company, int age) { Name = name; Company = company; Age = age; } }; int main () { /*Creating 1st instance of Employee class*/ Employee employee1("Danish", "Amazon" , 22); employee1.IntroduceYourself(); /*Creating 2nd instance of Employee class*/ Employee employee2("Aqib", "Accountancy" , 23); employee2.IntroduceYourself(); }

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