Is there a way for me to use an obj-C class with my C++ program? If so, what special parameters do I have to specify during the compilation phase, and if I needed, changes to my source code files?:-/
lil_panda
0
Light Poster
Recommended Answers
Jump to Postthere is no such thing as an "obj-c" class. C language knows nothing about classes. Maybe you mean a structure object declared in a c translation unit (*.c program) ?
// *.cpp file extern C int myint;
if you have a large group of objects
Jump to PostThe question is Objective-C language.
As far as I know, GNU Objective-C++ allows some mix of C++ and Object-C modules (I never used it).
http://en.wikipedia.org/wiki/Objective-C
See also:
All 6 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
ArkM
1,090
Postaholic
siddhant3s
1,429
Practically a Posting Shark
ArkM
1,090
Postaholic
siddhant3s
1,429
Practically a Posting Shark
ArkM
1,090
Postaholic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.