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#, OCaml, VB, Perl, Swift, Prolog, Javascript, Pascal, COBOL, HTML, CSS, JS Code, Compile, Run and Debug online from anywhere in world. *******************************************************************************/ #include <vector> #include <iterator> #include <iostream> int main() { std::vector<char> v; v.resize(10); auto v1 = v.begin(); auto v2 = v1 - 4; std::cout << size_t(&*v1) << "\n"; std::cout << size_t(&*v2) << "\n"; auto v3 = std::max(v1, v2); std::cout << size_t(&*v3) << "\n"; 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