online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> #include <vector> #include <algorithm> int main() { std::vector<int> v = {1, 1, 2, 2, 2, 3, 3, 4, 2, 2, 5, 5, 6, 7}; std::sort(v.begin(), v.end()); auto new_end = std::unique(v.begin(), v.end()); v.erase(new_end, v.end()); for (int i : v) std::cout << i << ' '; }

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