Can I write some c++ function in same .m file?
Answer / Shashi Prakash Verma
No, Objective-C and C++ are separate languages with different syntaxes. To use C++ functions within an Objective-C project, you would typically use a bridge header to expose the C++ code to the Objective-C side.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is delegate in objective c?
How to call objective c function in swift?
When is toll-free bridging useful?
Is swift objective c?
Can you please explain the way messaging works in objective-c?
What is ivar objective c?
What is struct in objective c?
Is objective c the same as c sharp?
How to sort array of dictionary in objective c?
How to add object to nsarray objective c?
What is protocol in simple words?
What are the two types of m files?