Xcode objective C++ -- avoid making .hh files?
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.
精彩评论