1  /  1  页   1 跳转 查看:623

求助

求助

#include <iostream.h>
void main()
{
int x=10,y=0,z=30;
if(x>y)
  z=x;
  x=y;
  y=z;
  cout<<"x="<<",y="<<y<<",z="<<z<<endl;

}



--------------------Configuration: mama - Win32 Debug--------------------
Linking...
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/mama.exe : fatal error LNK1120: 1 unresolved externals
执行 link.exe 时出错.

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

请问到底是哪里出错了???
 

回复: 求助

没有错误,可能是你的工作路径他不识别
 

回复:求助

试过了,没问题,你再调下
 
1  /  1  页   1 跳转

版权所有 程序员家园论坛   Sitemap

Powered by Discuz!NT 2.1.202    Copyright © 2001-2008 Comsenz Inc.
Processed in 0.0312514 second(s) , 3 queries. 浙ICP备07502118号
返顶部