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
- Numpy
- JSON
- pip
- mysql
- 프로그래머스
- C
- pandas
- ubuntu
- nvidia-smi
- 오류
- VS Code
- 핑거스타일
- Python
- Docker
- YOLO
- Linux
- Visual Studio
- paramiko
- windows forms
- SSH
- C++
- error
- OpenCV
- Selenium
- 채보
- C#
- pytorch
- 기타 연주
- label
- 컨테이너
Archives
- Today
- Total
목록stack (1)
기계는 거짓말하지 않는다

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