online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <iostream> #include <vector> using namespace std; int main() { vector<int>wektor; wektor.assign( { 1, 2, 3, 4 } ); wektor.push_back( 5 ); wektor.push_back( 6 ); wektor.erase (wektor.begin(), wektor.begin()+4); for( auto it = wektor.begin(); it != wektor.end(); it++ ) cout << *it << " "; return EXIT_SUCCESS; }

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