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, Java, PHP, Ruby, Perl, C#, VB, Swift, Pascal, Fortran, Haskell, Objective-C, Assembly, HTML, CSS, JS, SQLite, Prolog. Code, Compile, Run and Debug online from anywhere in world. *******************************************************************************/ #include <iostream> using namespace std; int main() { cout << "do/while/for" << endl; int i = 0; cout << "Do...while" << endl;https://srv.buysellads.com/ads/click/x/GTND427NCTYDE2JMCK7LYKQUCWAIP53WCWBICZ3JCABIL27JCV7I5KQKC6YDVKQJCWYI5KJLCESDLKQICYAILKQNHEYI52JECT7IK23ECTNCYBZ52K i = 0; do { cout << "i = " << i << endl; i++; } while (i < 5); cout << "\nwhile" << endl; i = 0; while (i < 5) { cout << "i = " << i << endl; i++; } cout << "\nfor" << endl; for (i = 0; i < 5; i++) { cout << "i = " << i << 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