/in/foo.cc:3:2: error: invalid preprocessing directive #incliude
#incliude <cmath>
^~~~~~~~
/in/foo.cc:5:24: error: 'b' has not been declared
float triangle(float a,b,c){
^
/in/foo.cc:5:26: error: 'c' has not been declared
float triangle(float a,b,c){
^
/in/foo.cc: In function 'float triangle(float, int, int)':
/in/foo.cc:6:13: error: 'b' was not declared in this scope
float p=(a+b+c)/2;
^
/in/foo.cc:6:15: error: 'c' was not declared in this scope
float p=(a+b+c)/2;
^
/in/foo.cc:7:34: error: 'sqrt' was not declared in this scope
float S=sqrt(p*(p-a)*(p-b)*(p-c));
^