What happens if you define a function in a header file and only use it in a single module?

后端 未结 0 1756
梦谈多话
梦谈多话 2021-01-15 02:46

I know defining a header file can cause a linking stage error if the header file is used in multiple modules because you will have multiple definitions of the same function.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题