online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
// Parámetros con valores por defecto // (C) 2009 Con Clase // Salvador Pozo #include <iostream> using namespace std; class punto { public: punto(float xi, float yi, float zi) : x(xi), y(yi), z(zi) {} void Asignar(float xi, float yi = 0, float zi = 0) { x = xi; y = yi; z = zi; } void Ver() { cout << "(" << x << "," << y << "," << z << ")" << endl; } private: float x, y, z; }; int main() { punto P(0,0,0); P.Ver(); P.Asignar(12); P.Ver(); P.Asignar(16,35); P.Ver(); P.Asignar(34,43,12); P.Ver(); 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