online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include "employee.h" int main(){ employe emp; emp.name = "Joe"; emp.id = 21; emp.salary = 12345; emp.showInfos(); return 0; }
#ifndef employee #define employee #include <iostream> class employe{ public: std::string name; int id; int salary; void showInfos(); }; #endif
#include "employee.h" #include <iostream> using namespace std; void employe::showInfos(){ cout << "Ad:" << name << endl << "Id:" << id << endl << "Salary:" << salary; }

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