일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Greedy
- Machine Learning
- CLion
- 코드블럭 오류
- classification problem
- 형변환
- #define
- #endif
- Runtime constants
- 단항연산자
- 홍정모님
- decimal
- 이코테
- compile time constants
- regression problem
- C++
- coursera
- 학습 알고리즘
- algorithm
- standford University
- 연산자
- 기계학습 기초
- 프로그래밍
- const
- 본즈앤올
- 기계학습
- Andrew Ng
- 나동빈님
- sizeof()
- 코딩테스트
- Today
- Total
목록Runtime constants (2)
wellcome_공부일기
1. Runtime constants 2. Compile time constants 3. constexpr Runtime vs compile time constants 상수에는 literal constants와 symbolic constants로 두가지 종류가 나뉘어져 있습니다. literal constants은 코드에 직접적으로 삽입된 값을 말하며, symbolic constants는 변하지 않는 고정된 값을 나타냅니다. 하지만, 상수(constants)를 사실상 Runtime constants와 compile time constants로 나뉠 수 있습니다. Runtime과 Compile time은 각각 다른 단계의 소프트웨어 개발을 가르키는 프로그래밍 용어입니다. Compile time은 우리가 입력..
1. Const variables 2. 기호 상수(symbolic constants)란? 3. 기호 상수(symbolic constants)의 나쁜 사용 예 4. 기호 상수(symbolic constants)의 좋은 사용 예 5. Using symbolic constants throughout a multi-file program(To be continued...) Const variables란? 그 동안, 우리가 봐온 모든 변수들은 non-constant였습니다. 이 말은 모든 변수들의 값이 언제든지 바뀔 수 있음을 말합니다. int x { 4 }; // initialize x with the value of 4 x = 5; // change value of x to 5 하지만, 때때로 변하지 않는 변..