online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <iostream> using namespace std; double sumaPol(double p1, double p2) { return p1 + p2; } int main() { double pole1 = 0, pole2 = 0; cout << "Podaj wartosc pola pierwszego trojkata: "; cin >> pole1; cout << "Podaj wartosc pola drugiego trojkata: "; cin >> pole2; cout << "Suma pol trojkatow wynosi " << sumaPol(pole1, pole2) << endl; 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