开发者

Xcode objective C++ -- avoid making .hh files?

开发者 https://www.devze.com 2023-02-13 06:54 出处:网络
To get header files with both Objective C and C++ objects to work, I have to rename them from .h to .hh.But my colleague uses .h with no problems.Neither of us understands开发者_如何学编程 why.

To get header files with both Objective C and C++ objects to work, I have to rename them from .h to .hh. But my colleague uses .h with no problems. Neither of us understands开发者_如何学编程 why.

Can anyone explain?


I guess your colleague's project settings have the Compile Sources As set to Objective-C++ and you don't.

0

精彩评论

暂无评论...
验证码 换一张
取 消