c++ in obj-c cocoa apps (post-FAQ)
c++ in obj-c cocoa apps (post-FAQ)
- Subject: c++ in obj-c cocoa apps (post-FAQ)
- From: Sean Gilbertson <email@hidden>
- Date: Thu, 28 Oct 2004 11:22:58 -0500
I've read the section in the FAQ <
http://www.alastairs-place.net/cocoa/faq.txt> on including C++ code in objective-C Cocoa apps, and I've also read what I can find on the net, but I still have some questions:
- Is it feasible to include standard, no-complaints-from-gcc-on-the-commandline C++ code in Cocoa-oriented objective-c source files? I get plenty of errors about everthing from syntax to not finding standard C++ includes (e.g. exception; string), which seem to indicate that the compiler is assuming the code is written in C rather than C++.
- Can I compile a library of C++ classes separately, and use them in Cocoa-oriented objective-c code?
- If I can't include the code as-is, is there some preferably trivial way I can alter it so that the compiler will like it?
--
Sean Gilbertson
IT Systems/Software Developer
_______________________________________________
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