C++ 结构体指针的定义

 

struct node 
{ 
…… 
} ; 
struct node *p1, *p2 ;

typedef struct node 
{ 
…… 
}Node;

typedef Node* pNode;

typedef struct node 
{ 
……

}*pNode;



 

参考:

https://blog.csdn.net/songzige/article/details/51298573

 

posted @ 2019-07-04 00:23  anobscureretreat  阅读(1882)  评论(0)    收藏  举报