online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> using namespace std; int main() { int capacidad = 0, *notas = nullptr; srand(time(nullptr)); cout << "Capacidad del arreglo de notas: "; cin >> capacidad; notas = new int[capacidad]; // asignando espacio para el arreglo de notas cout << "Arreglo de notas generado:\n"; for (int j = 0; j < capacidad; ++j) { notas[j] = rand()%21; cout << "notas[" << j << "]\t:\t" << notas[j] << endl; } delete[] notas; // liberando espacio asignado para el arreglo notas = nullptr; }

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