摘要:
//比较字符串s1和s2的前n个字节是否相等 int bcmp(const void* s1,const void*s2,int n); //将字符串src的前n个字节复制到dest中 void bcopy(const void *src,void *dest,int n); //设置字节字符串s的 阅读全文
2017年3月13日 #
摘要:
因为C++支持两种字符串,即常规的ANSI编码(使用“”包裹)和Unicode编码(使用L“”包裹) 字符串处理函数,比如strlen和wcslen #ifdefine _UNICODE #define TCHAR wchar_t #endif -tcslen = strlen #ifndefine 阅读全文