online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
/****************************************************************************** Welcome to GDB Online. GDB online is an online compiler and debugger tool for C, C++, Python, PHP, Ruby, C#, VB, Perl, Swift, Prolog, Javascript, Pascal, HTML, CSS, JS Code, Compile, Run and Debug online from anywhere in world. *******************************************************************************/ #include <stdio.h> int main() { printf("Hello World"); return 0; }
/*recordar ejercicios propuestos, implemente el algortimo de la burbuja de manera que los elementos ordenados quedan de mayor a menor*/ #include<iostream> using namespace std; int main() { int numeros[5]={5,2,3,4,1}; int axuliar; for (int i=0;i<=4;i++){ for (int j=0;j<=4;j++){ if (numeros[j] > numeros[j+1]){ axuliar = numeros[j]; numeros[j] = numeros[j+1]; numeros[j+1] = axuliar; } } } cout<<endl<<"valores de mayor a menor"<<endl; for (int i=4;i>=0;i--){ cout<<numeros[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