![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vc++
matrixtrank
这个作者很懒,什么都没留下…
展开
-
CString 转 char *
int WtoAsc(char * dst, CString &src){ int j = 0; for (; j < src.GetLength(); j++) { dst[j] = (char)(src.GetAt(j) & 0xff); } dst[j] = 0; return 0;}原创 2017-10-13 10:31:40 · 213 阅读 · 0 评论 -
字符串转数字
/*--------------------------------------------------------------------- the main purpose is speed up the app---------------------------------------------------------------------*/in原创 2017-12-05 15:07:49 · 260 阅读 · 0 评论 -
utf-8 字符串转 unicode 字符串
utf-8编码简介utf-8编码是一种变长编码, 中文字符用三个byte来存储,而编码范围在 0 到 0x7f 则使用1个字节存储 Number of bytes Bits for code point First code point Last code point Byte1 Byte2 Byte3 Byte4 1 7 U+0000...原创 2018-06-07 14:27:13 · 5475 阅读 · 1 评论