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
- Python
- C
- ubuntu
- 프로그래머스
- C#
- Visual Studio
- C++
- 명령어
- 오류
- SSH
- label
- 채보
- VS Code
- error
- pandas
- 기타 연주
- LIST
- Linux
- 핑거스타일
- Docker
- YOLO
- windows forms
- pytorch
- paramiko
- OpenCV
- 기타
- Numpy
- Selenium
- JSON
- mysql
Archives
- Today
- Total
목록스택 (1)
기계는 거짓말하지 않는다
스택(Stack)
Last In First Out(LIFO) 구조 #include #define SIZE 100 typedef enum eSelectMenu { selectPush = 1, selectPop, selectPeek, selectSize, selectExit } eSelectMenu; typedef enum eBool{ false, true } eBool; int top = -1;// -1 or 0 int stack[SIZE]; void Push(int data) { stack[++top] = data; } int Pop() { return stack[top--]; } eBool IsEmpty() { return top == -1 ? true : false; } eBool IsFull() { return to..
C
2020. 12. 9. 21:44