Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2022-12-31 03:19:03
Size: 293
Comment:
Revision 3 as of 2023-01-27 19:01:44
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.


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


Language


CategoryRicottone

C (last edited 2023-04-05 17:52:44 by DominicRicottone)