online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <algorithm> #include <iterator> #include <iostream> #include <vector> int main() { std::vector<int> v = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; std::erase(v, 3); std::cout << v.size() << '\n'; }

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