各位大神,刚发现随便写个程序,却一直提示错误,求解释。
#include "stdio.h"int
main()
{
int x,y,sum=0;
x=5;
y=6;
sum=x+y;
printf("Output:\n");
printf("sum=%d",sum)
}
--------------------Configuration: vc2 - Win32 Debug--------------------
Compiling...
StdAfx.cpp
Compiling...
vc2.cpp
e:\baiduyundownload\vc2\vc2.cpp(18) : fatal error C1010: unexpected end of file while looking for precompiled header directive
执行 cl.exe 时出错.
vc2.exe - 1 error(s), 0 warning(s)