Size: 293
Comment:
|
Size: 668
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
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. |
|
Line 26: | Line 28: |
---- == Installation == ---- == 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