Тема: Допоможіть знайти помилку
#include <stdio.h>
#include <math.h>
#include "stdafx.h"
#define M_PI 3.141591
int main()
{
float a,b,x,w;
printf("a=");
scanf_s("%f",&a);
printf("b=");
scanf_s("%f",&b);
printf("x=");
scanf_s("%f",&x);
w=log10(fabs(a))+(atan(x*x))*M_PI*a*(powl(b,1.0/3))-cos(a/b)/sqrt(fabs(a+x));
printf("Result=%8.5f",w);
return 0;
}
Warning 1 warning C4627: '#include <math.h>': skipped when looking for precompiled header use
Error 2 error C3861: 'log10': identifier not found 1.cpp 17
Error 3 error C3861: 'fabs': identifier not found 1.cpp 17
Error 4 error C3861: 'atan': identifier not found 1.cpp 17
Error 5 error C3861: 'powl': identifier not found 1.cpp 17
Error 6 error C3861: 'cos': identifier not found
Error 7 error C3861: 'sqrt': identifier not found 1.cpp 17
Error 8 error C3861: 'fabs': identifier not found 1.cpp 17