Size: 857
Comment:
|
Size: 668
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 32: | Line 32: |
== History == | == Installation == |
Line 34: | Line 34: |
C was developed by Dennis Ritchie at Bell Labs. | ---- |
Line 36: | Line 36: |
A C standard was developed as '''ANSI C''' in 1989. While the standard itself continued to develop, today 'ANSI C' refers almost exclusively to the standard of that time. Alternatively it is known as '''C89'''. | == Language == * [[C/ANSISequences|ANSI sequences]] |
C
A statically typed programming language. The design goals were minimalism and mirroring bare metal computer architecture, so as to simplify the process of porting C to new platforms. It allows low-level memory management and features a very concise standard library.
Contents
Example
A hello world program will look like:
#include <stdio.h> int main() { printf("Hello World!\n"); return 0; }
To compile and run, try:
gcc -o hello hello.c ./hello
Installation