importing C++ code into Xcode HOW ?
Hi
Where new to Iphone development and need some guidance as to porting existing c++ games into objective c structures.
Do you have to change the name of the .cpp file to .mm ?
Do you have to include the c++ header files in .m files ?
What settings do you have to change in Xcode from the default examples that you get to include C++ files?
Has anybody got a simple example ?
Im sure once we get going it will not be so bad.
Yours in thanks steve
PS how do you call a C++ function from objective c and vise versa....
Where new to Iphone development and need some guidance as to porting existing c++ games into objective c structures.

Do you have to change the name of the .cpp file to .mm ?
Do you have to include the c++ header files in .m files ?
What settings do you have to change in Xcode from the default examples that you get to include C++ files?
Has anybody got a simple example ?
Im sure once we get going it will not be so bad.
Yours in thanks steve
PS how do you call a C++ function from objective c and vise versa....
Why not just use C++, if you have existing C++ code?
Thanks that's great. Now if I can just find hash on the keyboard
( not the kind you smoke )
( not the kind you smoke )
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Importing geometry | miq01 | 2 | 2,097 |
Feb 27, 2009 06:46 AM Last Post: miq01 |
|

