size_t

According to the 1999 ISO C standard (C99), size_t is an unsigned integer type of at least 16 bit (see sections 7.17 and 7.18.3).

size_t 能存储理论上可行的任何类型(包括数组)对象的最大大小。

other articles

1. https://www.embedded.com/why-size_t-matters/

2. https://stackoverflow.com/questions/131803/unsigned-int-vs-size-t?noredirect=1&lq=1

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章