[关闭]
@StarSky 2017-06-15T09:38:13.000000Z 字数 277 阅读 421

2016-06-15 use struct cross the class

工作日记 C++


I want to use A.struct in B,but CLion can't find it at the beginning.Then I found that #include "A.h" have been lost in B.h.
And you should use the namespace the delcare the struct rather than instance.
ref:
https://stackoverflow.com/questions/5372865/c-structs-across-classes

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注