MSDN是这样说的
int GetLength( )
const;
Return Value
This is a count of the bytes in the string.
返回这个字串的字节数
但是test_en 等于6
test_ch等于5
这是怎么回事
...全文
给本帖投票
1645打赏收藏
关于CString存储汉字
CString s( "abcdef" ); test_en = s.GetLength(); CString ss( "我是中国人" ); test_ch = ss.GetLength(); MSDN是这样说的 int GetLength( ) const; Return Value This is a count of the bytes in the string. 返回这个字串的字节数 但是test_en 等于6 test_ch等于5 这是怎么回事