Linked List 소스 코드
닫기
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
해당 자료는 8페이지 까지만 미리보기를 제공합니다.
8페이지 이후부터 다운로드 후 확인할 수 있습니다.

소개글

Linked List 소스 코드에 대한 보고서 자료입니다.

목차

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

본문내용

/*
CreateDll 함수

함 수 명 : CreateDll
호출 함수 :
전달 인수 : 없음
반 환 값 : 없음
*/
void CreateDll(DLL *pSelf)
{

pSelf ->head = (NODE *)malloc(sizeof(NODE));
pSelf ->tail = (NODE *)malloc(sizeof(NODE));
pSelf ->head ->llink = pSelf ->head;
pSelf ->tail ->rlink = pSelf ->tail;
pSelf ->head ->rlink = pSelf ->tail;
pSelf ->tail ->llink = pSelf ->head;
pSelf ->count = 0;
pSelf ->position = pSelf ->head ->rlink;

/* 관계성을 위한 함수형 Pointer 변수 */
/*부연 설명 : 정의한 함수가 '='다음에 오는 이름에 와서 pSelf의 멤버함수의 선언부를 이용한다.*/
pSelf ->DestroyDll = DestroyDll;

pSelf ->InsertHeadDll = InsertHeadDll;
pSelf ->InsertTailDll = InsertTailDll;
pSelf ->InsertAtDll = InsertAtDll;
pSelf ->InsertPositionDll = InsertPositionDll;
pSelf ->InsertSortDll = InsertSortDll;

pSelf ->DeleteHeadDll = DeleteHeadDll;
pSelf ->DeleteTailDll = DeleteTailDll;
pSelf ->DeleteAtDll = DeleteAtDll;
pSelf ->DeletePositionDll = DeletePositionDll;
pSelf ->DeleteAllDll = DeleteAllDll;

pSelf ->GetCurrentPosition = GetCurrentPosition;
pSelf ->GetCount = GetCount;
pSelf ->SetAtDll = SetAtDll;

pSelf ->PrintDll = PrintDll;

pSelf ->MoveFirst = MoveFirst;
pSelf ->MoveLast = MoveLast;
pSelf ->MoveNext = MoveNext;
pSelf ->MovePrevious = MovePrevious;

return;
}

키워드

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