Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- 머신러닝
- call by value
- c++
- call by reference
- Nonlinear Model
- Linear Regression
- local minimum
- kubernetes
- Overloading
- overriding
- 회귀학습
- Machine learning
- member function
- 맵리듀스
- regression
- 비선형모델
- 딥러닝
- struct
- 회귀
- 비선형 함수
- Effective C++
- virtual function
- MapReduce
- Nonlinear Function
- 최소제곱법
- 지도학습
- 선형모델
- Class
- inheritance
- least square
Archives
- Today
- Total
J's Study log
[C] Functions 본문
The main frame of 'C' is just like this simple code.
1
2
3
4
5
6
7
|
#include <stdio.h>
int main() {
..
..
return 0;
}
|
# (Preprocessor)
- Preprocessor in 'C' is declared with '#'
- This process is done before a compiler works
- Starts from the first line of a code
So '#include' means to include something that is between '<>' bracket.
By this code we can contain other codes or header files.
int main()
- Most basic function in 'C'
- Codes in 'main()' are complied at first
- main() function is called by OS(Operating System) like Linux, Window10, etc.
- Every other functions are called by 'main()' directly or indirectly
return
- Keywords in 'C'
- Get out from the current function and return some value to where the function was called
- '0' means succeed, '1' means falied
- Never return 'local variable'
'Computer Language > C' 카테고리의 다른 글
[C] Integer (0) | 2019.12.01 |
---|---|
[C] Data Type (0) | 2019.12.01 |
[C] Format specifier (0) | 2019.12.01 |
[C] Operator Priority (0) | 2019.12.01 |
[C] What is C (0) | 2019.12.01 |
Comments