Linked List를 이용한 Queue를 구현
닫기
  • 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
해당 자료는 10페이지 까지만 미리보기를 제공합니다.
10페이지 이후부터 다운로드 후 확인할 수 있습니다.

소개글

Linked List를 이용한 Queue를 구현에 대한 보고서 자료입니다.

목차

1. 3개의 헤더파일
2. 3개의 소스파일

본문내용

/*
CreateQueueDll 함수

함 수 명 : CreateQueueDll
호출 함수 :
전달 인수 : 없음
반 환 값 : 없음
*/
void CreateQueueDll(QueueDll *pSelf)
{
pSelf ->list = (DLL *) malloc(sizeof(DLL)); /* DLL형으로 memory 할당 */
CreateDll(pSelf ->list);
pSelf ->front = pSelf ->list ->position;
pSelf ->rear = pSelf ->list ->position;
pSelf ->length = pSelf ->list ->count;

/* 관계성을 위한 함수형 Pointer 변수 */
pSelf ->DestroyQueueDll = DestroyQueueDll;

pSelf ->PutQueueDll = PutQueueDll;
pSelf ->DeleteQueueDll = DeleteQueueDll;

pSelf ->GetLengthQueueDll = GetLengthQueueDll;

pSelf ->IsEmptyQueueDll = IsEmptyQueueDll;

pSelf ->PrintQueueDll = PrintQueueDll;
pSelf ->PrintAllQueueDll = PrintAllQueueDll;

return;
}
  • 가격3,000
  • 페이지수30페이지
  • 등록일2005.01.04
  • 저작시기2005.01
  • 파일형식압축파일(zip)
  • 자료번호#281231
본 자료는 최근 2주간 다운받은 회원이 없습니다.
청소해
다운로드 장바구니