Would I be able to keep in touch with some c++ work in the equivalent .m record? Will it compile? Assuming no, what changes would it be a good idea for me to do to compile it?



Would I be able to keep in touch with some c++ work in the equivalent .m record? Will it compile? As..

Answer / Anoop Dwivedi

No, Objective-C does not natively support C++ code. To use C++ code within an Objective-C project, you can use the Objective-C++ feature (marked as .m instead of .mm). However, you will need to properly include headers and follow specific conventions to ensure correct compilation.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

What is a background thread?

1 Answers  


What is the mean of not running state in ios?

1 Answers  


What json framework is supported by ios (iphone os)?

1 Answers  


What is the current iphone ios?

1 Answers  


Name the application thread from where uikit classes should be used?

1 Answers  


Explain about AFNetworking. What is the base class used in AFNetworking library

1 Answers  


What is delegate protocol in ios?

1 Answers  


What is automatic reference counting (arc)?

1 Answers  


What is the short cut to open the “Code Snippet Library” in Xcode?

1 Answers  


What is latest mac os version?

1 Answers  


Explain difference between nil and nil?

1 Answers  


what is your preferred programming language? Why? How long will it take you to learn a new programming language?

1 Answers  


Categories