unsigned int strlenW(const wchar_t *wcs){ const wchar_t *eos = wcs;
while (*eos) ++eos;
return eos-wcs;}
int strcmpW(const wchar_t *pwc1, const wchar_t *pwc2){ int ret = 0;
while ( !(ret = *pwc1 - *pwc2) && *pwc2) ++pwc1, ++pwc2; return ret;}
posted on 2006-10-04 00:02 HUYU 阅读(369) 评论(0) 编辑 收藏 引用
Powered by: C++博客 Copyright © HUYU