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 |
Tags
- Class
- string
- Object Oriented Programming
- 백준
- 포인터
- Deep Learning
- programming
- 함수
- 문자열
- 알고리즘
- 티스토리챌린지
- predictive analysis
- function
- array
- vscode
- 배열
- 반복문
- C++
- 오블완
- pass by reference
- Pre-processing
- raw data
- const
- Data Science
- baekjoon
- pointer
- Python
- assignment operator
- OOP
- 파이썬
Archives
- Today
- Total
목록전체 글 (188)
Channi Studies
do-while Loop의 기본적인 형태는 다음과 같습니다. // do-while Loop do { statements; } while (expression); do-while문은 while문에서 처럼 conditional expression이 충족되었을 때, do 내부의 statements를 실행합니다. 여기서 중요한 점은, 반복문을 실행한 이후에 조건문을 확인한다는 점입니다. 다시 말하자면, 위의 예시에서 statements부분을 실행한 뒤, expression 부분을 확인합니다. 그렇기 때문에 do-while문의 statements들은 최소 한번의 실행이 보장되어 있습니다. 예시 코드 Example 1 // Example 1 #include using namespace std; int main(){..
C++/반복문 (Loop)
2023. 12. 12. 23:19
[C++] While Loop
Syntax // syntax while (expression) statement; // or while (expression) { statement(s); } 중요한 점은 infinite loop이 되지 않도록 신경쓰는 것입니다. Example Codes // Example 1 #include using namespace std; int main(){ int i {1}; while (i
C++/반복문 (Loop)
2023. 12. 10. 19:12
[C++] <iomanip> setprecision(n)
iomanip library를 활용하면 실수형 자료를 출력할 때, 소수점 몇번째 자리에서 반올림을 할 지 결정할 수 있습니다. 형식 // FORMAT # include cout
C++/기타
2023. 12. 10. 18:47