online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> #include <cstdlib> #include <time.h> #define N 15 using namespace std; int main() { srand(time(NULL)); int A[N]; int i, a, b; cout<<"Numeros aleatorios desde a= "<<endl; cin>>a; cout<<"hasta b="<< endl; cin>>b; for (i=0; i<N; i++) { A[i] = rand()%(b-a+1)+a; cout << A[i] << " "; } 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