摘要:
#include<iostream>#include<cstdio>using namespace std; void* mymemcpy(void* dst, const void* src, size_t n){ if (dst == NULL || src == NULL) return NU 阅读全文
摘要:
char *strcpy(char* strDest, const char*strSrc){ assert(strDest != NULL&&strSrc != NULL); char* address = strDest; while (*strSrc != '\0'){ *strDest = 阅读全文
摘要:
char *strcat(char* strDest, const char*strSrc){ assert(strDest != NULL&&strSrc != NULL); char* address = strDest; while (*strDest != '\0') strDest++; 阅读全文
摘要:
int strcmp(const char* str1, const char*str2){ assert(str1 != NULL&&str2 != NULL); while (*str1&&*str1 == *str2){ str1++; str2++; } if (*(unsigned cha 阅读全文