• 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: Where do I find the C headers?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where do I find the C headers?


  • Subject: Re: Where do I find the C headers?
  • From: Chris Mear <email@hidden>
  • Date: Sat, 27 Mar 2004 15:02:53 +0000

On 27 Mar 2004, at 2:40 pm, Chris Mear wrote:

On 27 Mar 2004, at 1:05 pm, Mark Patterson wrote:

Excuse the newbie question, but after poking around for a while, I haven't found the location of the basic C headers, like stdio.h and so on. I've got panther and x-code.

Try /usr/include/, or /Developer/SDKs/MacOSX10.#.#.sdk/usr/include/.

Forgot to say: This is the actual location of the header file, but if you're trying to include stdio in a C source file, you probably want to use

#include <stdio.h>

rather than hard-coding a path.

Chris
_______________________________________________
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: 
 >Where do I find the C headers? (From: Mark Patterson <email@hidden>)
 >Re: Where do I find the C headers? (From: Chris Mear <email@hidden>)

  • Prev by Date: Re: Cocoa, binding and java
  • Next by Date: Re: Unidentified Nib'ed Instance
  • Previous by thread: Re: Where do I find the C headers?
  • Next by thread: Re: Where do I find the C headers?
  • Index(es):
    • Date
    • Thread