Category:C: Difference between revisions

Content added Content deleted
(Upd support status)
Line 20: Line 20:
==Versions==
==Versions==
* '''K&R C''' was the first widely-used form of C. It was originally documented in ''The C Programming Language'', published in 1978. It is named for the authors, Brian Kernighan and Dennis Ritchie (also the language's creator). Code in this style is virtually nonexistent today.
* '''K&R C''' was the first widely-used form of C. It was originally documented in ''The C Programming Language'', published in 1978. It is named for the authors, Brian Kernighan and Dennis Ritchie (also the language's creator). Code in this style is virtually nonexistent today.
* '''C89''' (often called '''[[ANSI]] C''') is the version of C standardized by ANSI in 1989. It is the most commonly used and supported version of the language. The term "C" usually refers to C89 or C90.
* '''C89''' (often called '''[[ANSI]] C''') is the version of C standardized by ANSI in 1989. It is the most commonly used and supported version of the language.
* '''C90''' (often called '''[[ISO]] C''') is a minor improvement to C89, standardized by ISO in 1990. Most C compilers support it by default.
* '''C90''' (often called '''[[ISO]] C''') is identical to C89, republished by ISO in 1990.
* '''C99''' is a significant improvement, adopting many features of [[C++]] and standardizing common compiler extensions. It was standardized by ISO in 1999, and by ANSI in 2000. It is not completely supported by many, if any, compilers, but most of its features are available in [[GCC]]. [http://gcc.gnu.org/c99status.html]
* '''C99''' is a significant improvement, adopting many features of [[C++]] and standardizing common compiler extensions. It was standardized by ISO in 1999, and by ANSI in 2000. It is primarily supported by commercial C compilers, but most of its features are available in [[Clang]] [[GCC]]. [http://gcc.gnu.org/c99status.html]
* '''C11''' is the current standard, published in December 2011. Some of its features are available in GCC. [http://gcc.gnu.org/gcc-4.6/changes.html#c]
* '''C11''' is the current standard, published in December 2011. It is the default for [[GCC]] as of version 5.1.


==Citation==
==Citation==