online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> using namespace std; int rndvect(int a[], int dim, int min, int max){ int i; srand(time(NULL)); for(i=0; i<dim ; i++){ a[i]= (rand()%(max-min)+1)+ min; } return 0; } // int main(int argc, char const *argv[]) // { // /* Prueba de rndvect */ // const int maxdim=50; // cout << "Probando generador... " << endl; // int arr[maxdim]; // rndvect(arr, maxdim, 10, 90); // //imprimir el arreglo // cout << " El arreglo generado es:" << endl; // for(int i= 0; i<maxdim; i++){ // cout << "arr["<< i << "]=" << arr[i]<< endl; // } // cout << endl; // 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