摘要:
//去除左边空格void TrimLeft(char* str) { if (*str == ' ')return; char* t = str; while (*t == ' ')t++; while (*str++ = *t++); } //去除右边空格 void TrimRight(char* 阅读全文
posted @ 2020-12-10 16:20
sunshine_gzw
阅读(247)
评论(0)
推荐(0)
摘要:
char* mystrcpy(char* str_one,const char* str_two) { char* tmp = str_one; while (*str_one++ = *str_two++)return tmp; } char* mystrcat(char* str_one,con 阅读全文
posted @ 2020-12-10 12:54
sunshine_gzw
阅读(202)
评论(0)
推荐(0)

浙公网安备 33010602011771号