C语言连接错误

来源:百度知道 编辑:UC知道 时间:2024/06/20 14:39:52
_exit already defined in d.obj
Debug/d.exe : fatal error LNK1169: one or more multiply defined symbols found
Error executing link.exe.
上面是提示
原因何在?

_exit这个函数已经在c语言的库函数中提供,重复定义这个函数是错误的。

one or more multiply defined symbols found
翻译过来就是:发现了一个或多个重复定义的变量
自己查查吧~好像是exit

函数重名了