2010年5月2日 星期日

[IPhone]How to develop iphone with C++

Introduction
When I got a game project for IPhone from TS, I will study how to develop IPhone game.
But I have no experience for the Object-C, so I try to use C++ to implement IPhone game.
I found Xcode can compile C++ with IPhone SDK, the solution is change the source code's extend file name.

Solution

If you have Test.h and Test.m file. Rename Test.m to Test.mm to implement C++.

沒有留言:

張貼留言

Hello