online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
// Anidamiento #include <iostream> using namespace std; typedef struct { int x; int y; } Vector; typedef struct { Vector esquina1; Vector esquina2; } Rectangulo; int main() { Rectangulo rectangulo; /* Ingresando las coordenadas de esquina1 */ cout << "Ingrese la abcisa de esquina1\t:\t"; cin >> rectangulo.esquina1.x; cout << "Ingrese la ordenada de esquina1\t:\t"; cin >> rectangulo.esquina1.y; /* Ingresando las coordenadas de esquina2 */ cout << "Ingrese la abcisa de esquina2\t:\t"; cin >> rectangulo.esquina2.x; cout << "Ingrese la ordenada de esquina2\t:\t"; cin >> rectangulo.esquina2.y; cout << "sizeof(rectangulo.esquina1)\t\t=\t"; cout << sizeof(rectangulo.esquina1) << endl; cout << "sizeof(Vector)\t\t\t\t\t=\t"; cout << sizeof(Vector) << endl; cout << "sizeof(rectangulo)\t\t\t\t=\t"; cout << sizeof(rectangulo) << 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