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 |
Tags
- 반복문
- 오블완
- predictive analysis
- 포인터
- Object Oriented Programming
- Deep Learning
- 알고리즘
- vscode
- pointer
- pass by reference
- baekjoon
- Class
- 함수
- 배열
- 백준
- C++
- raw data
- array
- OOP
- programming
- function
- 티스토리챌린지
- 문자열
- Data Science
- Python
- 파이썬
- Pre-processing
- assignment operator
- string
- const
Archives
- Today
- Total
목록반복문 (3)
Channi Studies

코드 설명 사용자로부터 문자열을 입력 받고, 이를 피라미드 형태로 출력하는 것입니다. 일반적인 예제인 asterisk(*) 피라미드와는 다르게 반복문과 string에 대한 이해가 필요해서 조금 시간이 걸렸습니다. (나의) 코드 #include #include using namespace std; int main() { string choice{}; cout
C++/프로젝트 (Project)
2023. 12. 15. 23:57
[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