随笔 - 741  文章 - 0  评论 - 260  阅读 - 416万
  2012年1月16日
摘要: CString类一、常用成员函数1.int GetLength( ) const;说明:获取CString类对象包含字符串的长度(字符数)。2.BOOL IsEmpty( ) const;说明:测试CString类对象包含的字符串是否为空。3.void Empty( );说明:使CString类对象包含的字符串为空字符串。4.TCHAR GetAt( int nIndex ) const;说明:获得字符串指定位置处的字符。5.TCHAR operator []( int nIndex ) const;说明:获得字符串指定位置处的字符,作用和GetAt()一样。6.void SetAt( int 阅读全文
posted @ 2012-01-16 19:56 莫水千流 阅读(1521) 评论(1) 推荐(0) 编辑
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示