From WikiChip
Editing c

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.

Latest revision Your text
Line 1: Line 1:
{{title|C Programming Language}}
+
{{c menu}}
'''C''' is a [[general-purpose programming language|general-purpose]], [[procedural programming paradigm|procedural]], [[programming language]] originated in Bell Labs and introduced in the early 1970s. C is known for its very simple design, small number of {{\|reserved keywords|keywords}} and core constructs, and a very simple but still capable {{\|standard library}}. By design, C makes very few assumptions about the underlining mechanism that implements the language. It's this precise simplicity and abstraction that allowed various system designers to support C on their architectures. Today, support for the C language can be found on virtually all hardware.
+
'''C''' is a [[general-purpose programming language|general-purpose]], [[procedural programming paradigm|procedural]], [[imperative programming paradigm|imperative]], [[high-level programming language|high-level]] [[programming language]].
  
 
== History ==
 
== History ==
The C programming language was developed at AT&T Bell Labs, between 1969 and 1973, by Dennis Ritchie. The language got its name, '''C''', due to its influence from the ''B'' programming language; B was another language which developed at Bell Labs, by Ken Thompson and Dennis Ritchie, as well as the ''BCPL'' programming language.  
+
{{Wikipedia|msg=has more info on the topic at [[Wikipedia:C (programming language)#History|C (programming language)#History]].}}
 +
The '''C''' programming language was developed at AT&T Bell Labs, between 1969 and 1973, by Dennis Ritchie. The language got its name, '''C''', due to its influence from the ''B'' programming language; B was another language which developed at Bell Labs, by Ken Thompson and Dennis Ritchie, as well as the ''BCPL'' programming language.  
  
C is actually a byproduct of the [[UNIX]] operating system, which was developed at AT&T Bell Labs around the same time as well. The UNIX operating system ran on a [[DEC PDP-7]] machine. UNIX was originally written in assembly language, like most programs and operating systems of the time. Debugging code written in assembly was difficult and slow. Ken Thompson, the author of UNIX, decided that a high-level language was more appropriate. A small language, by the name of B, was then designed.  
+
'''C''' is actually a byproduct of an operating system called UNIX, which was developed at AT&T Bell Labs around the same time, as well. The UNIX operating system ran on a DEC PDP-7 machine. UNIX was originally written in assembly language, like most programs and operating systems of the time. Debugging code written in assembly was difficult and slow. Ken Thompson, the author of UNIX, decided that a high-level language was more appropriate. A small language, by the name of B, was then designed.  
  
B was heavily influenced by another system programming language called BCPL, which was developed in the mid 1960's. In the early 1970's, a [[DEC PDP-11]] machine was acquired for the UNIX project. Large portions of UNIX were ported to B, with the help of Dennis Ritchie. By 1971, it became clear that B did not serve as well for the PDP-11 as it did for the PDP-7. Constant modifications of the B language lead to the development of a new language which, eventually, came to be known as C. By 1973, C was complete enough that UNIX could be entirely written in the language. By writing UNIX in C, to allow UNIX to work on other machines, all that had to be done was to simply have a compiler for the new target system. Eliminating the need to rewrite the OS every time.
+
B was heavily influenced by another system programming language called BCPL, which was developed in the mid 1960's. In the early 1970's, a DEC PDP-11 machine was acquired for the UNIX project. Large portions of UNIX were ported to B, with the help of Dennis Ritchie. By 1971, it became clear that B did not serve as well for the PDP-11 as it did for the PDP-7. Constant modifications of the B language lead to the development of a new language which, eventually, came to be known as '''C'''. By 1973, '''C''' was complete enough that UNIX could be entirely written in the language. By writing UNIX in '''C''', all they had to do was have a compiler for a specific machine that could run UNIX.
  
 
== Standards ==
 
== Standards ==
Line 23: Line 24:
  
 
== Topics ==
 
== Topics ==
{{collist
+
{| valign="top"
| count = 2
+
|-
|
+
| valign="top" |
 
* C
 
* C
 
** {{C|Introduction}}
 
** {{C|Introduction}}
Line 46: Line 47:
 
** {{C|Operators}}
 
** {{C|Operators}}
 
** {{C|Operator precedence and associativity|Operator Precedence}}
 
** {{C|Operator precedence and associativity|Operator Precedence}}
 +
| valign="top" |
 
* Arrays & Pointers
 
* Arrays & Pointers
 
** {{C|Arrays}}
 
** {{C|Arrays}}
Line 65: Line 67:
 
** {{C|Standard Streams}}
 
** {{C|Standard Streams}}
 
** {{C|File I/O}}
 
** {{C|File I/O}}
 +
| valign="top" |
 
* Concurrency
 
* Concurrency
 
** {{C|Concurrency}}
 
** {{C|Concurrency}}
Line 76: Line 79:
 
* {{C|Preprocessor}}
 
* {{C|Preprocessor}}
 
** {{C|Standard predefined macros}}
 
** {{C|Standard predefined macros}}
}}
+
|}
  
 
[[Category:C programming language]]
 
[[Category:C programming language]]

Please note that all contributions to WikiChip may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see WikiChip:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)