网站首页  计算机词典

请输入您要查询的字词:

 

字词 CTimeSpan::operator +=,-=
释义 CTimeSpan::operator +=, -=

const CTimeSpan& operator +=( CTimeSpan timeSpan );
const CTimeSpan& operator -=( CTimeSpan timeSpan );

说明:
这些操作符允许你向或从此CTimeSpan中加上或减去一个CTimeSpan对象。

示例:
// example for CTimeSpan::operator +=, -=
CTimeSpan ts1( 10 ); // 10 seconds
CTimeSpan ts2( 100 ); // 100 seconds
ts2 -= ts1;
ATLASSERT( ts2.GetTotalSeconds() == 90 );
随便看

 

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

 

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