memset函数包含在头文件<memory.h>和头文件<string.h>中。 函数原型 memset(void* buff,int i,int count),其中buff:指针或数组,i:赋给buff的值,count:buff的长度。