C语言内存相关

相关函数:memsetmemcpy
在头文件string.h(C语言)或 cstring(C++)中

memcpy函数语法

void *memcpy(void *to, const void *from, size_t numBytes);
It copies “numBytes” bytes from address “from” to address “to”.

参考资料

posted @ 2023-03-04 22:37  梦一场6688  阅读(26)  评论(0)    收藏  举报