articles/c.md: update
This commit is contained in:
parent
9f77ffce0b
commit
a0d6a32e14
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ In 1979 C was defiled by Bjarne Stroustrup and turned into the abomination nowad
|
|||
In 1989 the first standardized version of C was released, C89 also known as *ANSI C*, a standard that remains relevant today, being
|
||||
considered as a baseline for maximum portable C code.
|
||||
|
||||
The next major (and last relatively good version) version, C99 was released in the year 2000. Notably this standard is the first one
|
||||
The next major (and last good version) version, C99 was released in the year 2000. Notably this standard is the first one
|
||||
that formally allowed the declaration of a variable in any place of a block, although most compilers supported it already
|
||||
as an extension. Also adds C++ style `//` comments, the `stdint.h` (fixed integer types) header and a boolean type.
|
||||
|
||||
|
@ -58,7 +58,7 @@ main(void)
|
|||
```
|
||||
|
||||
#### Compiling
|
||||
On Unix systems, `cc` is symlinked to the "default" C compiler, usually GCC.
|
||||
On Unix systems, `cc` is symlinked to the "default" C compiler, usually GCC in Linux and Clang in the BSDs.
|
||||
```
|
||||
cc -o hello hello.c
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue