| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- LSB
- 프로세서 기능
- 절대값
- OPAMP
- 제어버스
- C언어
- 프로그램 카운터
- TMS320F28335PGFA
- 포인터
- Visual Studio 2008
- 메가바이트
- 조건 연산자
- Call-By-Reference
- 데이터 버스
- 파이프 라인(pipeline)
- Call-By-Value
- serial통신
- 킬로바이트
- 오실레이터
- MAX232
- 메모리
- 주소버스
- latch
- 래치
- risc
- 누산기
- cisc
- H-bridge
- vfd
- 문자열과 포인터
- Today
- Total
목록Programming (14)
Fortune Smiles On Me
#include #include #define array_len 100 int arr[array_len]; int front = 0; int rear = 0; void enqueue(int data){ arr[rear++] = data; } int dequeue(void){ if (front == rear){ printf("비어있음\n"); exit(1); } return arr[front++]; } int main(void){ enqueue(3); enqueue(5); enqueue(2); enqueue(6); printf("%d\n", dequeue()); printf("%d\n", dequeue()); printf("%d\n", dequeue()); printf("%d\n", dequeue()); ..
#include #include "stack_list.h" void StackInit(Stack *pstack){ pstack->head = NULL; } int SIsEmpty(Stack *pstack){ if (pstack->head == NULL){ return TRUE; } else return FALSE; } void Spush(Stack *pstack, int data ){ Node* newNode = (Node*)malloc(sizeof(Node)); newNode->data = data; newNode->next = pstack->head; pstack->head = newNode; } DATA Spop(Stack *pstack){ DATA rdata; Node *rnode; if (SIs..
#include #include #include "stack.h" void StackInit(Stack *pstack){ pstack->top_index = -1; pstack->Stack_Arr[STACK_LEN]; } int SisEmpty(Stack *pstack){ if (pstack->top_index == -1) // 스택이 비었을 경우 return 1; else return 0; } void StackPush(Stack* pstack, int data) { //pstack->top_index++; pstack->top_index = pstack->top_index + 1; pstack->Stack_Arr[pstack->top_index] = data; } DATA StackPop(Stack*..