online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
/* Podaj liczbę, a wyświetlę kwadtary kolejnych liczb naturalnych */ #include <iostream> using namespace std; int main() { int x, pot; cout<<"Podaj liczbę, a wyświetlę kwadtary kolejnych liczb naturalnych "; cin>>x; cout<<"Podałeś "<<x<<"\nkwadraty tej i kolejnych trzech to: "; for (int i=1; i<=3;i++) //i++ to jest to samo co i=i+1 { pot=x*x; cout<<pot<<", "; x++; } cout<<"\nkoniec"; return 0; }

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