일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- html object
- 토큰경제
- border-box
- docker example
- git flow
- #binary
- #3차원배열
- #android activity
- html youtube
- #자바상속#자바이즈어#is~a
- html charset
- #JAVASCRIPT
- #C++ 연산자함수오버로딩
- #bubbleSort
- relative path
- #다차원포인터
- #1차원배열
- mac terminal command
- 하이퍼레저패브릭
- html code
- #2차원배열
- hyperledger transaction
- #C++ has~a
- html id
- html plug-in
- html video
- html multimedia
- #CallByAddress
- #성적관리프로그램
- html5 new tag
Archives
- Today
- Total
목록#스택 (1)
A sentimental robot
Stack
#include int Push(struct Stack* s, int data); int Pop(struct Stack* s, int* data); struct Stack { int data[5]; int top; }; int Push(struct Stack*s, int data){ if(s->top>=5) return 0; s->data[s->top++]=data; /* s->data[s->top]=data; s->top++; */ return 1; } int Pop(struct Stack *s, int *data){ /* s->top--; *data=s->data[s->top]; */ *data=s->data[--s->top]; return 1; } void main() { Stack s = {0};..
Data Structure
2018. 1. 3. 13:23