unexpected end of file while looking for precompiled header directive 是什么意思
来源:百度知道 编辑:UC知道 时间:2024/06/08 00:25:47
#include <stdio.h>
void main()
{
int i,n;
double x,sinx,t;
printf("please enter the avalues of x and n:");
scanf("%lf%d",&x,&n);
sinx=x;
t=x;
for(i=2;i<=n;i++)
{
t=t*(-1)x*x/(2i-2)*(2i-1);
sinx=sinx+t;
}
printf ("sinx=%lf",sinx);
}
请教高手指错啊
void main()
{
int i,n;
double x,sinx,t;
printf("please enter the avalues of x and n:");
scanf("%lf%d",&x,&n);
sinx=x;
t=x;
for(i=2;i<=n;i++)
{
t=t*(-1)x*x/(2i-2)*(2i-1);
sinx=sinx+t;
}
printf ("sinx=%lf",sinx);
}
请教高手指错啊
C语言还是C++啊?好久不见这种东东真头疼,问老师不就得了
这是一个初级C语言, 编写的是一个计算的程式。呵呵 我也就是只这点水平了,不过printf ("sinx=%lf",sinx); 表示的是输出答案
太难了,惭愧惭愧。
FPC unexpected end of file怎么解决?
C++编译错误 unexpected end of file found
unexpected $end 在php中什么意思啊?
unexpected end of file while looking for precompiled header directive
cpp(203) : fatal error C1004: unexpected end of file found
同一个程序tp没事/fp unexpected end?
ABORT: 10008 ,unexpected end of file怎么处理??
在c++中,编译时出现fatal error C1004: unexpected end of file found是什么意思?
fatal error C1010: unexpected end of file while looking for precompiled header directive
fatal error C1071: unexpected end of file found in comment这个是什么意思啊?