size_t和int
时间: 2024-03-31 10:09:31 浏览: 64
浅谈int8_t int64_t size_t ssize_t的相关问题(详解)
size_t和int是在C/C++标准中定义的两种数据类型。size_t是用来表示对象的大小的类型,其真实类型与操作系统有关。而int是整数类型,用来表示整数值。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Size_t和int区别](https://blog.csdn.net/qingzhuyuxian/article/details/84579320)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [int和size_t](https://blog.csdn.net/wk_bjut_edu_cn/article/details/79825114)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文