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

猜你喜欢

转载自www.cnblogs.com/sea-stream/p/11129950.html