online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> #include <vector> using namespace std; int main() { // deklarujemy listę tablicową z trzema elementami auto list = vector<string>{"1", "2-gi element", "3-ci"}; // iterujemy od początku, do końca, przeskakując co jeden element // begin() pobiera iterator // end() zawiera końcową pozycję // it++ przesuwa na następny element for (auto it = list.begin(); it < list.end(); it++) { // wypisujemy aktualną wartość cout << *it << "\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