这是什么情况?
--------------------Configuration: 1 - Win32 Debug--------------------Linking...
test1.obj : error LNK2005: _main already defined in 1.obj
5.obj : error LNK2005: _main already defined in 1.obj
Debug/1.exe : fatal error LNK1169: one or more multiply defined symbols found
执行 link.exe 时出错.
1.exe - 1 error(s), 0 warning(s)
最好把源码贴出来,也好帮你调试啊! 检查仪main()是不是多写了。。 在工程1中已经定义了主函数,应该是重复定义了main函数
页:
[1]