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}; auto end = std::remove(v.begin(), v.end(), 3); int count = std::distance(v.begin(), end) + std::distance(end, v.end()); if ( count == v.size() ) { std::cout << "EQUAL\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