Defining Global Variables Between Two .cpp Files

前端 未结 2 1746
有刺的猬
有刺的猬 2020-12-11 07:24

How can I share/globalize a bool variable between A.cpp and B.cpp where neither of them does include the other ones .h file?? They have other joint header files but not each

2条回答
提交回复
热议问题