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  达可奈特  阅读(13)  评论(0编辑  收藏  举报