Re: objective-c newbie type question(solution found :))
Re: objective-c newbie type question(solution found :))
- Subject: Re: objective-c newbie type question(solution found :))
- From: Aaron Boothello <email@hidden>
- Date: Sun, 17 Apr 2005 15:59:24 +0800
Answer:
Objective-C++
http://developer.apple.com/releasenotes/Cocoa/Objective-C++.html
Thanks guys, just took a little googling to figure out Objective-C++ is what i needed.
Cheers,
Aaron.
On Sunday, April 17, 2005, at 02:43PM, Aaron Boothello <email@hidden> wrote:
>Thanks guys for your help,
>it sorted out a lot of things. I was trying to translate C/C++ into objective-C, and that just saved me a lot of work.
>Alright...Keith, what you mentioned is pretty interesting. ive never tried mixing languages the way you mentioned. Here's my situation:
>-I have defined NSOpenGLViews and a couple of classes(called joints and skeleton) using Cocoa to handle input from the mouse(Objective-C)(.h and .m files).
>-I have some opensource solvers for 3D transformations written in C/C++ (called solver and matrix)(thats im trying to use with my app.(.h and .cpp)
>-i can ensure that all the parameters and variables matchup, since my app already keeps track of the necessaary values.
>
>As mentioned above, the c++ class solver, has a pointer to a type skeleton(cause it accessed some members of skeleton using the pointer), that ive defined in Objective-C. is there a way to make the differene in language transparent ?
>
>I get a heck of a lot of errors when i try to do the above, so was wondering if it was even possible.
>
>Cheers,
>Aaron.
>
>On Saturday, April 16, 2005, at 10:39PM, Keith Ray <email@hidden> wrote:
>
>>Don't forget that you can combine C++ and Objective-C if your file
>>suffixes are .mm instead of .m
>>
>>On 4/16/05, Aaron Boothello <email@hidden> wrote:
>>> typedef double matrix[16];
>>
>>Consider using OCUnit, UnitKit or another unit-test framework to
>>test-drive your code. Google for test-driven-development, TDD, OCUnit,
>>UnitKit.
>>----
>>
>>C. Keith Ray
>><http://homepage.mac.com/keithray/blog/index.html>
>><http://homepage.mac.com/keithray/xpminifaq.html>
>><http://homepage.mac.com/keithray/resume2.html>
>>
>>
> _______________________________________________
>Do not post admin requests to the list. They will be ignored.
>Cocoa-dev mailing list (email@hidden)
>Help/Unsubscribe/Update your Subscription:
>
>This email sent to email@hidden
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden