online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
// TablaInt.cpp: Clase para crear Tablas de enteros // C con Clase: Marzo de 2002 #include <iostream> using namespace std; class TablaInt { public: TablaInt(int nElem); ~TablaInt(); int& operator[](int indice) { return pInt[indice]; } private: int *pInt; int nElementos; }; // Definición: TablaInt::TablaInt(int nElem) : nElementos(nElem) { pInt = new int[nElementos]; } TablaInt::~TablaInt() { delete[] pInt; } int main() { TablaInt TablaI(10); for(int i = 0; i < 10; i++) TablaI[i] = 10-i; for(int i = 0; i < 10; i++) cout << TablaI[i] << endl; 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