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 happens with the objects if the array is released?
How to initialize nsmutabledictionary in objective c?
How do you get closure?
What is abstract class in objective c?
What is objective c and swift?
Explain the types of protocol?
What is the protocol in objective c?
What is instance variable objective c?
What do you mean by @synthesize and @dynamic in the objective-c? And also explain what do you mean by synthesized in objective-c?
Why swift is better than objective c?
What is retain count?
What are the attributes of category?