c++6.0错误提示是什么意思?
以下是出现错误的提示..Deletingintermediatefilesandoutputfilesforproject'ibm1-Win32Debug'.------...
以下是出现错误的提示..
Deleting intermediate files and output files for project 'ibm1 - Win32 Debug'.
--------------------Configuration: ibm1 - Win32 Debug--------------------
Compiling...
kl.cpp
c:\program files\microsoft visual studio\myprojects\ibm1\kl.cpp(7) : warning C4700: local variable 'n' used without having been initialized
Linking...
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/ibm1.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
ibm1.exe - 2 error(s), 1 warning(s)
请问如何修改??
这是程序代码:#include<iostream.h>
void main()
{
int a,b,n;
cout<<"请输入两个数:";
cin>>a>>b;
cout<<"a+b="<<n<<endl;
}
我是新手..希望大家多帮助!谢谢! 展开
Deleting intermediate files and output files for project 'ibm1 - Win32 Debug'.
--------------------Configuration: ibm1 - Win32 Debug--------------------
Compiling...
kl.cpp
c:\program files\microsoft visual studio\myprojects\ibm1\kl.cpp(7) : warning C4700: local variable 'n' used without having been initialized
Linking...
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/ibm1.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
ibm1.exe - 2 error(s), 1 warning(s)
请问如何修改??
这是程序代码:#include<iostream.h>
void main()
{
int a,b,n;
cout<<"请输入两个数:";
cin>>a>>b;
cout<<"a+b="<<n<<endl;
}
我是新手..希望大家多帮助!谢谢! 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询