在VC++6.0下编译找不到头文件<stdio.h>,把stdio.h复制到VC当前目录下也不行?麻烦大家帮我看一下
源代码# include <stdio.h>
bool Isprime (int val)
{ int i;
for (i = 2; i<val; ++i)
{
if (val%i == 0)
break;
}
if (i == val)
return ture;
else
return false;
}
int main(void)
{int m;
scanf ("%d",&m);
if (Isprime (m))
printf("yes");
else
printf("no\n");
return 0;
}
编译后
F:\Downloads\VC++6.0英文版\VC98\Bin\1.cpp(1) : fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
我把stdio.h已经复制到VC当前目录下,stdio.h换成双引号也不行,请大家帮我看看是怎么回事?