|
clude < stdio.h >
#include < string.h >
#include <malloc.h>
struct queue {
char data;
struct queue *next;
};
struct queue *head;
int addq(char n)
{
struct queue *q, *tmp;
q = (struct queue*)malloc(sizeof(struct queue));
if( !q ) {
printf("memory allocation error\n");
}
q->data =
|
- 페이지 6페이지
- 가격 1,300원
- 등록일 2006.02.28
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
< 큐를 구현한 연결리스트 표현 >
[ 결과 ] 큐를 구현한 연결리스트 소스
|
- 페이지 4페이지
- 가격 1,200원
- 등록일 2009.05.22
- 파일종류 한글(hwp)
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
양방향 LinkedList로 구현한 큐입니다.
|
- 페이지 4페이지
- 가격 1,000원
- 등록일 2006.03.05
- 파일종류 기타
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#define SIZE 5
int init_Q();
int insert_Q(char insert_data);
int delete_Q();
int print_Q();
int isempty();
int front_exam();
typedef struct Q_node{
int data;
Q_node *link;
}queue_node;
queue_node *new
|
- 페이지 1페이지
- 가격 1,000원
- 등록일 2005.02.28
- 파일종류 기타
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
연결리스트를 이용한 응용(도서 관리 프로그램)을 만들어 보았는데 이번에는 교재 6장 큐를 응용하여 아이스크림 판매 프로그램을 만들었습니다. 배열로 구현된 큐에 비하여 크기가 제한되지 않는다는 장점을 지닌 연결리스트를 이용한 큐를
|
- 페이지 10페이지
- 가격 3,300원
- 등록일 2012.08.31
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|