mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2026-01-29 06:38:02 -08:00
initial
This commit is contained in:
@@ -25,7 +25,7 @@ Feel free to take a look. You might learn new things. They have been designed to
|
|||||||
|
|
||||||
#### Imperative
|
#### Imperative
|
||||||
|
|
||||||
- [C](languages/C.txt)
|
- [C](languages/C.md)
|
||||||
- [C#](languages/C%23.txt)
|
- [C#](languages/C%23.txt)
|
||||||
- [Go](languages/golang.md)
|
- [Go](languages/golang.md)
|
||||||
- [Java](languages/java.md)
|
- [Java](languages/java.md)
|
||||||
|
|||||||
@@ -1 +1,7 @@
|
|||||||
<!-- making C cheatsheets -->
|
<!-- making C cheatsheets -->
|
||||||
|
|
||||||
|
main() Function
|
||||||
|
|
||||||
|
* The main() function is the starting point of the program: ```int main (int argc, char *argv[])```
|
||||||
|
* The return type of the main() function is an integer (type int) and it is known as the ```return value``` of the program.
|
||||||
|
* As a rule of thumb, ```value 0 means success while non-zero means an error conditions.```
|
||||||
|
|||||||
@@ -1,8 +1,3 @@
|
|||||||
main() Function
|
|
||||||
|
|
||||||
* The main() function is the starting point of the program: int main (int argc, char *argv[])
|
|
||||||
* The return type of the main() function is an integer (type int) and it is known as the return value of the program.
|
|
||||||
* As a rule of thumb, value 0 means success while non-zero means an error conditions.
|
|
||||||
|
|
||||||
Include Files
|
Include Files
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user