typedef

是什么意思
  • n. 定义类型

英英释义

Typedef

  • typedef is a keyword in the C and C++ programming languages. The purpose of typedef is to form complex types from more-basic machine types and assign simpler names to such combinations.

以上来源于:Wikipedia

学习怎么用

词汇搭配

短语

typedef struct 记录类型 ; 顺序链表结构 ; 颜色定义 ; 定义运算符栈

typedef stdstring字符串

TYPEDEF PTR的用法

typedef union颜色分量交换结构

typedef sequenceBinaryFile用于文件的交互

typedef char字符型

typedef f重新进行数据类型定义

typedef int整型

typedef float浮点型

更多收起网络短语

双语例句

  • Thisbringsustothe firsttypedeftrap.

    这里将带我们到达第一个typedef陷阱。

    blog.163.com

  • Thesecomplextypescanbeenumerations,structures,andunions,oryoucanusetypedeftocreateanewname for a type.

    这些复杂的类型可以是枚举、结构和联合,或者您可以使用typedef来创建类型的新名称。

    www.ibm.com

  • Anotherwaytorefer tothetypeofanexpressioniswithtypeof.Thesyntaxofusingofthiskeywordlookslikesizeof,but the construct acts semantically likeatypenamedefinedwithtypedef.

    另一种引用一个表达式类型的方法就是使用typeof,使用这个关键字的语法看上去有点像使用sizeof,但从本质上讲,它更像是使用typedef定义一个类型名称。

更多双语例句

权威例句

std::basic_ostringstream< CharT, Traits, Alloc > Class Template Reference
std::basic_istringstream< CharT, Traits, Alloc > Class Template Reference
std::ostream_iterator< Type, CharT, Traits > Class Template Reference
__gnu_cxx::stdio_filebuf< CharT, Traits > Class Template Reference
std::basic_ifstream< CharT, Traits > Class Template Reference
std::basic_filebuf< CharT, Traits > Class Template Reference
std::basic_iostream< CharT, Traits > Class Template Reference
Providing tokens to access federated resources
Programmable processor
Remote direct memory access system and method