开发者

Where are the header files for C in Xcode?

I'm trying to开发者_如何学Go find the header files for things such as limits.h in XCode. Where do they exist? Thanks.


It depends on your target SDK. Usually, you will find them in

/Developer/SDKs/<insert SDK here>/usr/include

For example,

/Developer/SDKs/MacOSX10.4u.sdk/usr/include


  • /usr/include/limits.h on my machine

That (/usr/include) is the normal place place for system headers on Unix-based machines. Sometimes, extensions have their code (headers, libraries) placed under /usr/local instead (/usr/local/include for headers, /usr/local/lib for libraries).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜