0_0_29470066_9148.cpp:2:25: error: 'acos' was not declared in this scope
const double pi= acos(-1);
^
0_0_29470066_9148.cpp: In function 'void Get_mat(double, double, double, double)':
0_0_29470066_9148.cpp:9:19: error: 'cos' was not declared in this scope
double c=cos(a);
^
0_0_29470066_9148.cpp:10:19: error: 'sin' was not declared in this scope
double s=sin(a);
^
0_0_29470066_9148.cpp: In function 'int main()':
0_0_29470066_9148.cpp:21:54: error: 'scanf' was not declared in this scope
while(scanf("%lf%lf%lf", &px[0], &px[1], &px[2] ) != EOF){
^
0_0_29470066_9148.cpp:21:59: error: 'EOF' was not declared in this scope
while(scanf("%lf%lf%lf", &px[0], &px[1], &px[2] ) != EOF){
^
0_0_29470066_9148.cpp:22:31: error: 'memset' was not declared in this scope
memset(py,0,sizeof(py));
^
0_0_29470066_9148.cpp:24:46: error: 'sqrt' was not declared in this scope
double len = sqrt(x * x + y * y +z *z) ;
^
0_0_29470066_9148.cpp:31:55: error: 'printf' was not declared in this scope
printf("%.3lf %.3lf %.3lf\n",py[0],py[1],py[2]);
^
|