• 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: Objective-C and C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Objective-C and C


  • Subject: Re: Objective-C and C
  • From: Óscar Morales Vivó <email@hidden>
  • Date: Fri, 16 Jan 2004 11:41:32 +0100

Since Objective-C is just a superset of C, you can put your C code in there "as is" and it will work.

Same as with C++ if you ever have bothered with it.

Just keep working as usual, putting Objective-C where necessary (and with the .m suffix in those files where it's being used).

Hope that helps.

On 16 Jan 2004, at 11:27, email@hidden wrote:

Hello,

i have some code in C that i wanted to use, but now in Objective-C. Since i
am still a newbie with Objective-C, is there any way i can use the C code
inside Objective-C? Or some whay i can get to make Objective-C understand
that i have other code in C that i want to use?

Thanks for the attention,

Ricardo Pires

__________________________________________________________
Quanto gasta de Acesso ` Internet? Faga as contas!
http://acesso.portugalmail.pt/contas
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Objective-C and C (From: email@hidden)

  • Prev by Date: Objective-C and C
  • Next by Date: Xcode and ObjectAlloc
  • Previous by thread: Objective-C and C
  • Next by thread: Xcode and ObjectAlloc
  • Index(es):
    • Date
    • Thread