I\'m trying to mix Objective-C with C++. When I compile the code, I get several errors.
A.h
#import
#include \"B.h\"
@interfac
In situations where you wish to introduce a simple C++ function like std::cout <<
then Hot Licks offers a good alternative.
Change the "Identity and Type
" From: Objective-C source
To: Objective-C++ source
The .mm extension simply identifies the file type; and then you are seeking a Objective-C++ not a Objective-C type.