积极答复者
typedef的定义

问题
全部回复
-
Hi oneonce,
感谢在MSDN论坛发帖。
typedef关键字是用来定义一个名称,在当前范围内等同于声明部分给出的类型。使用typedef可以为已经由语言定义的类型或你已经声明的类型构造创建一个更短或更有意义的名称。typedef声明不会引入新类型,它们只为现有类型引入新名称。
关于它的用法,可以参考以下文档。
https://msdn.microsoft.com/en-us/library/05w82thz.aspx
希望对你有所帮助。
Best Regards,
Sera YuMSDN Community Support<br/> Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact <a href="mailto:MSDNFSF@microsoft.com">MSDNFSF@microsoft.com</a>.