mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 06:02:18 +02:00
c99: add page
This commit is contained in:
parent
4b1f1f476a
commit
b45ce585c7
1 changed files with 19 additions and 0 deletions
19
pages/common/c99.md
Normal file
19
pages/common/c99.md
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# C99
|
||||||
|
|
||||||
|
> Compiles C programs according to the ISO C standard.
|
||||||
|
|
||||||
|
- Compile source files and create an executable:
|
||||||
|
|
||||||
|
`c99 {{file.c}}`
|
||||||
|
|
||||||
|
- Compile source files and create an executable with a custom name:
|
||||||
|
|
||||||
|
`c99 -o {{executable_name}} {{file.c}}`
|
||||||
|
|
||||||
|
- Compile source files and create object files:
|
||||||
|
|
||||||
|
`c99 -c {{file.c}}`
|
||||||
|
|
||||||
|
- Compile source files, link with object files, and create an executable:
|
||||||
|
|
||||||
|
`c99 {{file.c}} {{file.o}}`
|
Loading…
Add table
Reference in a new issue