网站首页  计算机词典

请输入您要查询的字词:

 

字词 CString::operator 3c3c,3d3d
释义 CString::operator <<, >>

friend CArchive& operator <<( CArchive& ar, const CString& string );
  throw( CArchiveException );
friend CArchive& operator >>( CArchive& ar, CString& string );
  throw( CArchiveException );
friend CDumpContext& operator <<( CDumpContext& dc, const CString& string );

说明:
CString插入操作符(<<)支持向一个存档进行诊断转储和存储。提取操作符支持从一个文档中进行装入。
CDumpContext操作符只有在Microsoft基础类库的调试版中才有效。

示例:
下面的例子说明了如何使用CString::operator <<, >>。
// CString::operator <<, >>示例:
extern CArchive ar;
CString s( "abc" );
#ifdef _DEBUG
  afxDump << s; // Prints the value (abc)
  afxDump << &s; // Prints the address
#endif
if( ar.IsLoading() ) ar >> s;
else ar << s;

请参阅:CDumpContext
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/23 21:50:53