摘要:
//去除左边空格void TrimLeft(char* str) { if (*str == ' ')return; char* t = str; while (*t == ' ')t++; while (*str++ = *t++); } //去除右边空格 void TrimRight(char* 阅读全文
摘要:
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 阅读全文