Quote:
Originally Posted by foslacocoa
Hi,
I want to know that whether C++ code can be merged with objective c or not ?
|
To some extent, yes, since C++ and Obj-C share the common ancestor, C. But there are many, many syntactical differences between the languages that would make "merging" difficult and time-consuming.
Xcode can build projects comprised of a mix of C++ and Obj-C source files, so you can use existing C++ code (or continue writing new C++ code) as long as you build an interface layer back to Obj-C wherever needed.