1.memset

   头文件:C中 <string.h>  ; C++中 <cstring>

   原型: void *memset(void *s, int ch, size_t n);

   说明:将 s 中前 n 个字节 (typedef unsigned int size_t)用 ch 替换并返回 s

   示例:把一个char a[20]清零,一定是 memset(a,0,20);

2.

相关文章:

  • 2022-01-14
  • 2022-12-23
  • 2021-12-09
  • 2021-09-07
  • 2022-01-09
  • 2021-08-20
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-03
  • 2022-12-23
  • 2021-10-31
  • 2021-08-05
  • 2021-12-02
  • 2022-12-23
相关资源
相似解决方案