• 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
Xcode now defaults to use C99 - so what's C99?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode now defaults to use C99 - so what's C99?


  • Subject: Xcode now defaults to use C99 - so what's C99?
  • From: David Hoerl <email@hidden>
  • Date: Fri, 30 May 2008 16:18:37 -0400

Xcode recently changed the default C language dialect to C99. Many Xcode users (such as myself) have little to no understanding of what is new or changed with C99. You can read the 100+ page spec and try to infer the changes, or you can google "C99" looking for an informative overview, which results in mostly not very informative hits.

It took a while but I finally did uncover a really good series of articles written by Randy Meyers for the C/C++ Users Journal several years ago. Posting these here in case you have been thinking of doing the same in the near future:

The New C: Introducing C99: http://www.ddj.com/cpp/184401296

The New C: It All Began with FORTRAN: http://www.ddj.com/cpp/184401313

The New C: Integers, Part 1: http://www.ddj.com/cpp/184401323

The New C: Integers, Part 2: http://www.ddj.com/cpp/184401339

The New C: Integers, Part 3: http://www.ddj.com/cpp/184401352

The New C: Declarations & Initializations: http://www.ddj.com/cpp/184401377

The New C: X Macro: http://www.ddj.com/cpp/184401387

The New C: Compound Literals: http://www.ddj.com/cpp/184401404

The New C: Why Variable Length Arrays: http://www.ddj.com/cpp/184401444

The New C: Variable Length Arrays, Part 2: http://www.ddj.com/cpp/184401468

The New C: Variable Length Arrays, Part 3: http://www.ddj.com/cpp/184401476

The New C: Variable Length Arrays, Part 4: http://www.ddj.com/cpp/184401497

The New C: bool, Advice to C and C++ Programmers: http://www.ddj.com/architect/184401520

The New C: Inline Functions: http://www.ddj.com/architect/184401540

Statements and Loops (much on C99): http://www.ddj.com/cpp/184401602

Floating-Point Math (much on the new C99 tgmath feature): http://www.ddj.com/cpp/184401653

About the // Comment: http://www.ddj.com/cpp/184401674


GCC 4.0 and C99: http://gcc.gnu.org/gcc-4.0/c99status.html


If that's not enough, you can read an annotated book on the standard (1500+ pages long): http://www.knosof.co.uk/cbook/cbook.html The publisher backed out so the author published it on the web. There is a discussion on every line of the C99 standard (which is thus included).


David
_______________________________________________
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: Xcode now defaults to use C99 - so what's C99?
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: What?
  • Next by Date: Re: Xcode now defaults to use C99 - so what's C99?
  • Previous by thread: Re: What?
  • Next by thread: Re: Xcode now defaults to use C99 - so what's C99?
  • Index(es):
    • Date
    • Thread