为什么C++连接总是显示Debug⼀2.exe : fatal error LNK1169: one or more multiply defined symbols found

2025-05-17 21:27:36
推荐回答(1个)
回答1:

你有多个头文件或cpp文件,而你在这些文件中重复定义了某些变量或者嵌套引用了头文件,因此报错。