2012-03-12 471 views
9

我预计uint32的意思是“无符号的32位整数”。uint32_t代表什么?

t代表什么?

+2

[类型后跟_t(下划线-t)代表什么?](http://stackoverflow.com/questions/231760/what-does-a-type-followed-by-t-underscore -t-represent) – 2012-03-12 12:38:24

回答

15

后缀_t表示类型名称。例如,size_t是尺寸的类型。

另一种受欢迎的思路将其视为命名约定类型定义

+0

typ ** e ** name? :-) – xanatos 2012-03-12 11:24:58

8

uint32_ t =无符号整数32位类型