正在加载图片...
关于 LPCTSTR和 CString:类 Fint GetLength( consti BOOL工 eMpty() const; 取值 void empty oi TCHAR GetAt(int mindex)consti TCHAR operator [](int nIndex)consti void setAt(int nIndex, TCHAR ch) operator LPCTSTR() consti 类型转换运算 CS 使用实例: cstring str; 工 PCTSTR1psz (LPCTSTR) stri关于LPCTSTR和CString类 int GetLength() const; BOOL IsEmpty() const; void Empty(); TCHAR GetAt(int nIndex) const; TCHAR operator[](int nIndex) const; void SetAt(int nIndex, TCHAR ch); operator LPCTSTR() const; 取值 类型转换运算 CString::operator LPCTSTR() const { return m_pchData; } 使用实例:CString str; LPCTSTR lpsz = (LPCTSTR) str;
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有