mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-07 18:57:21 +00:00
Update cheatsheets
This commit is contained in:
25
c99
Normal file
25
c99
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# c99
|
||||
|
||||
> Compiles C programs according to the ISO C standard.
|
||||
> More information: <https://manned.org/c99>.
|
||||
|
||||
- Compile source file(s) and create an executable:
|
||||
|
||||
`c99 {{file.c}}`
|
||||
|
||||
- Compile source file(s) and specify the executable [o]utput filename:
|
||||
|
||||
`c99 -o {{executable_name}} {{file.c}}`
|
||||
|
||||
- Compile source file(s) and create object file(s):
|
||||
|
||||
`c99 -c {{file.c}}`
|
||||
|
||||
- Compile source file(s), link with object file(s), and create an executable:
|
||||
|
||||
`c99 {{file.c}} {{file.o}}`
|
||||
Reference in New Issue
Block a user