用VC++6.0编译的时候出现了错误,求大侠帮忙
// sum.cpp : Defines the entry point for the console application.//
#include "stdafx.h"
int main(int argc, char* argv[])
{
float a,b,sum;
cout<<"Please enter a:"<<endl;
cin>>a;
cout<<"Please enter b:"<<endl;
cin>>b;
sum=a+b;
cout<<"The sum is:"<<sum<<endl;
return 0;
}
编译这个的时候出现了
Compiling...
sum.cpp
c:\documents and settings\administrator\桌面\sum\sum.cpp(4) : fatal error C1083: Cannot open precompiled header file: 'Debug/sum.pch': No such file or directory
Error executing cl.exe.
sum.obj - 1 error(s), 0 warning(s)
请问这该怎么解决?我鼓捣一天了,还是不懂