CString类说明(摘录)
摘要:来源:百度文库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 Set
阅读全文
posted @ 2011-11-24 13:30
浙公网安备 33010602011771号