• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
C with C++ in xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

C with C++ in xcode


  • Subject: C with C++ in xcode
  • From: Joe Kurtz <email@hidden>
  • Date: Tue, 27 Sep 2005 18:19:27 -0700 (PDT)

I want to use some C code with my Carbon project.

I have some un-adulterated .c files (and their .h
counterparts) that I have added to the project. The
problem seems to be that I don't know how to call them
from within a class's member function.

I have tried #include "cfilename.h" in the class's .h
file. The compile goes okay, but the linker says
"undefined symbols" -- refering to the c functions
that I call from within the class's member functions.

I really want NOT to mess with the c files, but rather
modify my c++ class.

Joe



__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: C with C++ in xcode
      • From: Eric Albert <email@hidden>
References: 
 >Re: Overriding the C++ Operator new (From: David Fang <email@hidden>)

  • Prev by Date: Re: XCode and the unreachable breakpoints
  • Next by Date: Re: C with C++ in xcode
  • Previous by thread: Re: Overriding the C++ Operator new
  • Next by thread: Re: C with C++ in xcode
  • Index(es):
    • Date
    • Thread