VC中一个工程里面建立两个程序报错,为什么
我建立了一个工程,准备在里面搞两个程序,但报错
--------------------Configuration: dlk - Win32 Debug-------------------- Compiling... d.cpp fff.cpp Linking... fff.obj : error LNK2005: _main already defined in d.obj Debug/dlk.exe : fatal error LNK1169: one or more multiply defined symbols found 执行 link.exe 时出错. dlk.exe - 1 error(s), 0 warning(s)
第一次接触VC,不知道错在哪里,请指教