Tuesday, March 1, 2011

[Misc] Mixing Objective-C and C++

To use the C++ code in Objective-C, we can implement C++ class in pure C++. When using those C++ classes in Objective-C, any file having C++ types must have the extension of ".mm". Thus it seems not suitable to include C++ headers in Objective-C headers, although they are all ".h" files. 

Posted via email from Troy's posterous

No comments:

Post a Comment

Google+