0_0_16199457_17130.cpp: In member function 'P P::rotate(const double&) const':
0_0_16199457_17130.cpp:9:24: error: 'cos' was not declared in this scope
return P( x*cos(theta)-y*sin(theta),x*sin(theta)+y*cos(theta) ) ;
^
0_0_16199457_17130.cpp:9:37: error: 'sin' was not declared in this scope
return P( x*cos(theta)-y*sin(theta),x*sin(theta)+y*cos(theta) ) ;
^
0_0_16199457_17130.cpp: In member function 'double P::len(const P&) const':
0_0_16199457_17130.cpp:15:27: error: 'hypot' was not declared in this scope
return hypot(x-o.x,y-o.y) ;
^
0_0_16199457_17130.cpp: In member function 'double P::angle() const':
0_0_16199457_17130.cpp:17:41: error: 'atan2' was not declared in this scope
double angle() const { return atan2(y,x); }
^
0_0_16199457_17130.cpp: In member function 'void P::read()':
0_0_16199457_17130.cpp:20:23: error: 'scanf' was not declared in this scope
scanf("%lf%lf",&x,&y);
^
0_0_16199457_17130.cpp: In member function 'void P::output()':
0_0_16199457_17130.cpp:23:29: error: 'printf' was not declared in this scope
printf("(%.9lf,%.9lf)",x,y);
^
|