/in/foo.cc: In member function 'void Quadrilateral::getEdge()':
/in/foo.cc:19:34: error: 'pow' was not declared in this scope
a = pow((pow((a1 - b1), 2) + pow((a2 - b2), 2)), 0.5);
^
/in/foo.cc:19:61: error: 'pow' was not declared in this scope
a = pow((pow((a1 - b1), 2) + pow((a2 - b2), 2)), 0.5);
^
/in/foo.cc:19:61: error: redeclaration of '<typeprefixerror>pow'
/in/foo.cc:19:34: note: previous declaration '<typeprefixerror>pow'
a = pow((pow((a1 - b1), 2) + pow((a2 - b2), 2)), 0.5);
^
/in/foo.cc: In member function 'double Quadrilateral::getArea2()':
/in/foo.cc:33:43: error: 'pow' was not declared in this scope
double sin1 = pow((1 - pow(cos1, 2)), 0.5);
^
/in/foo.cc:33:50: error: 'pow' was not declared in this scope
double sin1 = pow((1 - pow(cos1, 2)), 0.5);
^
/in/foo.cc:33:50: error: redeclaration of '<typeprefixerror>pow'
/in/foo.cc:33:43: note: previous declaration '<typeprefixerror>pow'
double sin1 = pow((1 - pow(cos1, 2)), 0.5);
^
/in/foo.cc: In member function 'int Trapezoid::check()':
/in/foo.cc:63:5: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/foo.cc: In member function 'int Parallelogram::check()':
/in/foo.cc:85:5: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/foo.cc: In member function 'int Rectangle::check()':
/in/foo.cc:107:5: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/foo.cc: In member function 'int Square::check()':
/in/foo.cc:128:5: warning: control reaches end of non-void function [-Wreturn-type]
}
^