Can I use c++ within a cocoa or carbon application?

have written a program in c++...it includes a bunch of header files and whatnot...I would like to build a user interface for this project using cocoa...can this be done? do I use a carbon application? would I have to re-write my c++ project at all?

I would like to use cocoa because the interface can have more objects...how different are objective C files(.m)...is it possible to incorporate the two different languages?

where do I find useful information online about building cocoa/carbon apps..?
Yes to both.

Carbon is a C++ environment. If you're starting from scratch, you should probably be using Cocoa.

Cocoa is a Objective C environment. But you can use C++ instead of C, technically you'll be using Objective C++. Be careful and recognise the nature of Objective C's object model.
What I need to do is build an interface, which can be written in Objective C to control the objects...but I need the application to call on information from header files written in C++. Is this possible? Any online guides would also be appreciated...
Yes. Just make your Objective C object calls from within the C++ member functions.
thanks!
Topic archived. No new replies allowed.