0x05 Programming/C / C++
-
[C] 이중링크드리스트 예제입니다.0x05 Programming/C / C++ 2010. 9. 20. 14:55
#include #include #include struct NODE* Head= NULL; struct NODE* Temp= NULL; struct NODE* Tail = NULL; struct NODE { struct NODE* Llink; char name[10]; char team[20]; struct NODE* Rlink; }; void Add() { struct NODE* Data; Data = (struct NODE*)malloc(sizeof(struct NODE)); Data->Llink = NULL; Data->Rlink = NULL; printf("Input Name : "); scanf("%s", Data->name); printf("Input Team : "); scanf("%s",..