online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <iostream> class Persona { private: const char *nombreCompleto; public: const char *obtenerNombreCompleto(){return nombreCompleto;} void establecerNombreCompleto(const char* nombreNuevo){nombreCompleto = nombreNuevo;} }; class Estudiante: public Persona { private: int numeroDeControl; public: void establecerNumeroDeControl(int numeroNuevo){numeroDeControl = numeroNuevo;} int obtenerNumeroDeControl(){return numeroDeControl;} }; main(){ Estudiante s; s.establecerNombreCompleto("Fulanito de tal"); s.establecerNumeroDeControl(20930185); std::cout << "Nombre: " << s.obtenerNombreCompleto() << std::endl << "Numero de control: " << s.obtenerNumeroDeControl() << std::endl; }

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