LPCTSTR 字符串获取其长度

LPCTSTR lpStr = "123456789";
int i=CString(lpStr).GetLength();

posted @ 2018-10-11 13:55  余生以学  阅读(1506)  评论(0)    收藏  举报