头文件为什么不能被重复包含include

https://www.zhihu.com/question/26872913

 

 这个解释非常好,重复包含就是重复定义,那么就会报错了。

 

posted @ 2020-10-29 17:52  lypbendlf  阅读(225)  评论(0编辑  收藏  举报