c++中copychars是什么意思
1 回答

白衣染霜花
TA貢獻1796條經(jīng)驗 獲得超10個贊
copychars是字符拷貝的意思。。
使用方法:
CSimpleString str(_T("xxxxxxxxxxxxxxxxxxx"), 20, pMgr);
TCHAR* pszSrc = _T("Hello world!");
_tprintf_s(_T("%s\n"), str);
str.CopyChars(str.GetBuffer(), pszSrc, 12);
_tprintf_s(_T("%s\n"), str);
- 1 回答
- 0 關(guān)注
- 665 瀏覽
添加回答
舉報
0/150
提交
取消