typedef与struct

typedef与struct

typedef struct ListNode
{
    int data;
    struct ListNode *next;
}Node,*List_Pointer;

其实就是

struct ListNode
{
    int data;
    struct ListNode *next;
};

加上

typedef struct ListNode Node;
typedef struct ListNode *List_Pointer;

参考https://www.cnblogs.com/qyaizs/articles/2039101.html

猜你喜欢

转载自blog.csdn.net/qq_34941153/article/details/90082871