Skip to content

Commit

Permalink
Merge pull request wangzheng0822#263 from Devil0F/patch-1
Browse files Browse the repository at this point in the history
添加注释,方便个人理解
  • Loading branch information
wangzheng0822 authored Mar 11, 2019
2 parents d3431d6 + 170bf09 commit 16c5bc1
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions c-cpp/06_linkedlist/Dlist/Dlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
************************************************************************/
#include<stdio.h>

typedef struct DlistNode
{
struct DlistNode *prev;
struct DlistNode *next;
int data;
typedef struct DlistNode //双向链表中每一个节点
{
struct DlistNode *prev; //节点前项指针
struct DlistNode *next; //节点后项指针
int data; //数据
}stDlistNode;

typedef struct Dlisthead
typedef struct Dlisthead //定义链表总体
{
int size;
stDlistNode *head;
stDlistNode *tail;
int size; //链表长度
stDlistNode *head; //头指针
stDlistNode *tail; //尾部指针
}stDlistHead;

0 comments on commit 16c5bc1

Please sign in to comment.