online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> using namespace std; int main() { const int tamano = 15; int arreglo[tamano] = {25, 17, 13, 16, 41, 32, 12, 115, 95, 84, 54, 63, 78, 21, 10}; int temp; //ordenamos el arreglo (mΓ©todo burbuja) //para que funcione la busqueda binaria for(int i=0; i<=tamano; i++){ for(int j=tamano-1; j>=i+1; j--){ if(arreglo[j] < arreglo[j-1]){ //intercambiar posiciones temp=arreglo[j]; arreglo[j]=arreglo[j-1]; arreglo[j-1]=temp; } } } for (int i=0; i<tamano; i++){ cout<<arreglo[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