본문 바로가기 메뉴 바로가기

더 나은 프로그래머가 되기 위하여.

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

더 나은 프로그래머가 되기 위하여.

검색하기 폼
  • Trash (25)
    • Programming (25)
      • 뇌를 자극하는 알고리즘 (25)
  • 방명록

Tree (2)
뇌를 자극하는 알고리즘 - 4. 트리 : Expression Tree

구현소스 ExpressionTree.h #ifndef EXPRESSION_TREE_H #define EXPRESSION_TREE_H #include #include #include typedef double Element; typedef struct tagETNode { struct tagETNode* Left; struct tagETNode* Right; Element Data; } ETNode; // 노드생성 ETNode* ET_CreateNode(Element NewData); // 노드 파괴 void ET_DestroyNode(ETNode* Node); // 수식 트리 파괴 - 후위순회 void ET_DestroyTree(ETNode* Root); // 전위 순회 void ET_PreorderPr..

Programming/뇌를 자극하는 알고리즘 2010. 10. 13. 15:26
뇌를 자극하는 알고리즘 - 4. 트리 : Left Child Right Sibling

구현 소스 LCRSTree.h #ifndef LCRSTREE_H #define LCRSTREE_H #include #include typedef char Element; // Left child Right Sibling Tree Struct 선언 typedef struct tagLCRSNode{ struct tagLCRSNode* LeftChild; struct tagLCRSNode* RightSibling; Element Data; } LCRSNode; LCRSNode* LCRS_CreateNode(Element NewData); void LCRS_DestroyNode(LCRSNode* Node); void LCRS_DestroyTree(LCRSNode* Root); // DestroyTree 함수는 ..

Programming/뇌를 자극하는 알고리즘 2010. 10. 7. 23:34
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • Data Structures in C
  • 그림 맞추기 게임
  • WM_TIMER
  • Game project
  • PtInRect
  • Pixel 색상값으로 구현한 간단한 충돌
  • MFC 예제
  • SetTimer
  • Digits Folding
  • PackMan
  • quick sort
  • IntersectRect
  • Win32 API
  • Farseer Physics
  • Tree
  • Queue
  • Ice Climber
  • Linked list
  • WinAPI
  • Kinect Game Project
  • Tales of the Float Land
  • graph
  • 뇌를 자극하는 알고리즘
  • Hash table
  • WM_CONTEXTMENU
  • 열혈강의C
  • 2D Game Project
  • Stack
  • Kinect Programming
  • 윈도우즈 API 정복
more
«   2025/11   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바