这个typedef结构在C语言中的含义是什么?

问题描述:

这段代码是什么意思?这个typedef结构在C语言中的含义是什么?

typedef struct elmt *elmtaddress; 
+3

你搜索了一下? – Stargateur

+0

在提出问题之前,请在Google上搜索**#mangoogle ** – YaatSuka

+0

[为什么“有人可以帮我吗?”不是真正的问题?](http://meta.*.com/q/284236) – EJoshuaS

它使elmtadress成为struct elmt *的别名。如果你使用这个,你可以输入:的

elmtadress myStruct; 

代替

struct slmt *myStruct; 

在这里阅读更多:http://www.tutorialspoint.com/cprogramming/c_typedef.htm

+0

谢谢,并抱歉我的坏问题,并感谢编辑.. –