写书上的代码有个错误
新手正在学谭浩强C程序设计#define PRICE 30
void main()
{
int num,total;
num=10;
total=num*PRICE;
printf("total=%d",total)
}
--------------------Configuration: 0 - Win32 Debug--------------------
Compiling...
0.cpp
d:\vc++\microsoft visual studio\myprojects\0\0.cpp(10) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Error executing cl.exe.
0.obj - 1 error(s), 0 warning(s)
上面这段代码按书上敲的有个错误请各位师傅指点一下那里错了