• 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
RE: C language in obj-c
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: C language in obj-c


  • Subject: RE: C language in obj-c
  • From: fawad shafi <email@hidden>
  • Date: Wed, 29 Apr 2009 10:36:59 +0000
  • Importance: Normal

thanks for this useful info.
is it possible?
existing code that (possibly written in C) that we can easily port over to obj-c with minimum effort.

Regards,
Fawad Shafi




> CC: email@hidden
> From: email@hidden
> To: email@hidden
> Subject: Re: C language in obj-c
> Date: Wed, 29 Apr 2009 11:33:54 +0100
>
> On 29 Apr 2009, at 11:29, fawad shafi wrote:
>
> > for example i write one program in c language and then compile it,
> > the compiler will create the one .obj file for us. if i wana use
> > that obj file in xcode or obj-c, is it possible??
>
> The system compiler on Mac OS X doesn't make files with the extension
> ".obj", even for plain C code.  That's why I suspected you might be
> talking about some other compiler (my guess being Microsoft's, since
> that's the most common place where you might see a ".obj" extension).
>
> Anyway, the easiest thing to do is to put your C source files into
> your Xcode project and it will compile them and link them against the
> rest of your program.  Then you don't need to bother about the object
> files at all.
>
> Kind regards,
>
> Alastair.
>
> p.s. Please always reply to the list as well as directly.
>
> --
> http://alastairs-place.net
>
>
>

_________________________________________________________________
Rediscover HotmailĀ®: Now available on your iPhone or BlackBerry
http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mobile2_042009_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • [OT] Re: C language in obj-c
      • From: Alastair Houghton <email@hidden>
    • RE: C language in obj-c
      • From: email@hidden
References: 
 >C language in obj-c (From: fawad shafi <email@hidden>)
 >Re: C language in obj-c (From: Alastair Houghton <email@hidden>)
 >Re: C language in obj-c (From: Alastair Houghton <email@hidden>)

  • Prev by Date: Re: C language in obj-c
  • Next by Date: Re: C language in obj-c
  • Previous by thread: Re: C language in obj-c
  • Next by thread: RE: C language in obj-c
  • Index(es):
    • Date
    • Thread