如下是我用VC++中写的一个程序:
#include <iostream.h>
#include <iomanip.h>
int main()
{double x,y;
x=2+7.0/3;
y=5/34.0;
cout.setf(ios::fixed);
cout.precision(3);
cout<<"x="<<setw(8)<<x;
cout<<"y="<<setw(8)<<y;
return 0;
}
结果它说有错误:
--------------------Configuration: demon1 - Win32 Debug--------------------
Compiling...
关于一些特殊 的函数的使用.cpp
Linking...
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/demon1.exe : fatal error LNK1120: 1 unresolved externals
执行 link.exe 时出错.

demon1.exe - 1 error(s), 0 warning(s)


各位高手,我只是一个新手,不知道是什么意思啊!各位能不能帮帮忙,解决这个问题啊。