The definition of the C ++ structure pointer

 

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

typedef struct node 
{ 
…… 
}Node;

typedef Node* pNode;

typedef struct node 
{ 
……

}*pNode;



 

reference:

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

 

Guess you like

Origin www.cnblogs.com/sea-stream/p/11129950.html