Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 31 |
Tags
- Class
- github
- Tutorial
- 기초
- guide
- C#
- UE5
- loop
- 백준
- 오류
- 시작해요 언리얼 2022
- 프로그래밍
- parameter
- python
- 재귀
- W3Schools
- Basic
- Programming
- Algorithm
- Material
- Unity
- dfs
- String
- c++
- 파이썬
- DP
- Unreal Engine 5
- 문제풀이
- w3school
- dynamic
Archives
- Today
- Total
목록ELSE (2)
행복한 개구리
If... Else 짧게 작성하기 (3중 연산자) if else를 짧게 쓸 수 있는 것이 있는데 3개의 연산되는 함수로 이루어져 있어 3중 연산자로 알려진 것입니다. 이것은 여러 줄의 코드를 단 한줄로 대체할 수 있습니다. 또한 if else 선언문을 간단하게 대체할 때 사용됩니다. 문법 variable = (condition) ? expressionTrue : expressionFalse; if... else 사용: 예시 #include using namespace std; int main() { int time = 20; if (time < 18) { cout
C++/공부내용
2022. 6. 14. 18:38