Index
Subject
: Re: LUG: Linux cheat sheets
From
: Cory Burgett <cmburget@ncsu.[redacted]>
Date
: Sun, 18 Oct 2009 14:42:52 -0400
Parent
Actually, GCC doesn't fully support the C99 standard. The only compiler
(that I know of) that has complete support for C99 is Sun Studio. That
being said, most of the "more useful" features of C99 are supported by
most modern compilers.
A few years ago, both Microsoft and Borland (the biggest distributors of
development tools for Windows) publicly stated that they have no plans
to ever support C99, since most of their customers only care about C++;
however, some of their customers have been complaining, and after Visual
Studio 2010, the Visual Studio team "will be reviewing all customer
suggestions, including this one, for our future planning." We'll see.
Personally, I don't think many developers see much of a need for C99.
For the most part, C89 works perfectly well. Developers are comfortable
with it, it's a bit more lightweight than C99, and you almost NEVER
encounter code with trigraphs anymore. For most developers, either C89
or some grotesque mixture of C and C++ (or in fact some other language
altogether!) suits their needs. Just my two cents.
See:
http://gcc.gnu.org/c99status.html
http://www.openwatcom.org/index.php/C99_Compliance
http://developers.sun.com/sunstudio/documentation/ss12/mr/READMEs/c.html#about
http://www.connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=485416
-Cory
Alexander Ray wrote:
> Brian, I agree w/ the (ANSI) C sheet; I use it as well. Great for a
> quick reference on those little things (like precedence, and file
> ops).
>
> Other than that, I've found that pretty much anything i need to do in
> C is already in the man pages. from semaphores (man sem_overview) to
> queues and linked lists (man queue), virtually all of what I need for
> C is in man (3).
>
> The only thing its lacking is C99, but since GCC is the only compiler
> (afaik) to fully implement C99, not incredibly useful to rely on that
> feature set unless necessary.
>
> ~Alex
--
Cory Burgett
Lab Instructor
E115 sections 023 and 032
Office Hours: Mon. 2-3 PM in DAN 201
AIM: cmburgetE115