memset在那个头文件
时间: 2023-08-23 08:15:13 浏览: 312
memset函数定义在C语言库的<string.h>头文件中。在C++中,你可以通过包含<cstring>头文件来使用memset函数。\[1\]
#### 引用[.reference_title]
- *1* *3* [C语言与C++语言中的memset函数](https://blog.csdn.net/weixin_49503250/article/details/129888599)[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^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [C/C++ memset使用](https://blog.csdn.net/qq_53191711/article/details/125056386)[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^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文