online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> #include <cmath> using namespace std; float norma (float x, float y, float z) { return sqrt(x*x + y*y + z*z); } int main() { //ejm cout<<"vector: (" << 3 << ", "<< 4 << ", "<< 5 << ") ; "; cout<<"norma = "<<norma(3, 4, 5)<<endl; float x, y, z; cout<<"Introduzca las tres coordenadas de un vector: "; cin>>x>>y>>z; cout<<"vector: ("<<x<<","<<y<<","<<z<<")"; cout<<"norma = "<<norma(x, y, z)<<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