online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> using namespace std; int main() { int* p = new int{0}; int* p_max = new int{-1}; cout << "Ingrese 5 notas:" << endl; for (int j = 0; j < 5; ++j) { cout << "notas[" << j << "]\t:\t"; cin >> *p; if (*p_max < *p) *p_max = *p; } cout << "Nota maxima\t:\t" << *p_max << endl; delete p; delete p_max; }

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