⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c++ faq lite[13]--算符重载(新).htm

📁 c++faq。里面有很多关于c++的问题的解答。
💻 HTM
📖 第 1 页 / 共 4 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0049)http://www.csdn.net/develop/article/10/10010.shtm -->
<HTML><HEAD><TITLE>C++ FAQ Lite[13]--算符重载(新)</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META http-equiv=Expires content=0><LINK 
href="C++ FAQ Lite[13]--算符重载(新).files/news.css" rel=stylesheet>
<STYLE type=text/css>.fst {
	BORDER-RIGHT: #000000 1px solid; PADDING-RIGHT: 15px; PADDING-LEFT: 15px; BACKGROUND: #eeeecc; PADDING-BOTTOM: 0px; BORDER-LEFT: #000000 1px solid; WIDTH: 770px; PADDING-TOP: 0px
}
.fstdiv3 IMG {
	BORDER-RIGHT: #eeeecc 8px solid; BORDER-TOP: #eeeecc 6px solid; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px
}
</STYLE>

<META content="MSHTML 6.00.2462.0" name=GENERATOR></HEAD>
<BODY bottomMargin=0 aLink=#990000 bgColor=#ffffff leftMargin=0 topMargin=0 
rightMargin=0 marginheight="0" marginwidth="0">
<SCRIPT language=javascript1.2>
<!--
	var currentpos,timer; 
	function initialize() 
	{ 
	timer=setInterval('scrollwindow()',10);
	} 
	function sc(){
	clearInterval(timer);	
	}
	function scrollwindow() 
	{ 
	currentpos=document.body.scrollTop; 
	window.scroll(0,++currentpos); 
	if (currentpos != document.body.scrollTop) 
	sc();
	} 
	document.onmousedown=sc
	document.ondblclick=initialize
//-->
</SCRIPT>

<CENTER><LINK href="news.css" rel=stylesheet>
<TABLE cellSpacing=0 cellPadding=0 width=770 border=0>
  <TBODY>
  <TR vAlign=bottom>
    <TD height=22>
      <DIV align=left><IMG height=22 src="C++ FAQ Lite[13]--算符重载(新).files/1.gif" 
      width=14></DIV></TD>
    <TD background="C++ FAQ Lite[13]--算符重载(新).files/di.gif" height=22>
      <DIV align=left><FONT color=#ff6633><A 
      href="http://www.csdn.net/">CSDN主页</A></FONT></DIV></TD>
    <TD width=185 bgColor=#001880 height=22>
      <DIV align=left><IMG height=22 src="C++ FAQ Lite[13]--算符重载(新).files/2.gif" 
      width=70></DIV></TD>
    <TD height=22>
      <DIV align=left><IMG height=22 
      src="C++ FAQ Lite[13]--算符重载(新).files/y1.gif" width=3></DIV></TD>
    <TD background="C++ FAQ Lite[13]--算符重载(新).files/di.gif" height=22>
      <DIV align=left><FONT color=#ff6633><A 
      href="http://www.csdn.net/news/">新闻聚焦</A></FONT></DIV></TD>
    <TD height=22>
      <DIV align=left><IMG height=22 
      src="C++ FAQ Lite[13]--算符重载(新).files/jiao.gif" width=15></DIV></TD>
    <TD background="C++ FAQ Lite[13]--算符重载(新).files/di.gif" height=22>
      <DIV align=center><FONT color=#ff6633><A 
      href="http://www.csdn.net/cnshare/">共享软件</A></FONT></DIV></TD>
    <TD height=22>
      <DIV align=left><IMG height=22 
      src="C++ FAQ Lite[13]--算符重载(新).files/jiao.gif" width=14></DIV></TD>
    <TD background="C++ FAQ Lite[13]--算符重载(新).files/di.gif" height=22>
      <DIV align=left><FONT color=#ff6633><A 
      href="http://www.csdn.net/buy/">俱乐部</A><IMG 
      src="C++ FAQ Lite[13]--算符重载(新).files/buy.gif"></FONT></DIV></TD>
    <TD height=22>
      <DIV align=left><IMG height=22 
      src="C++ FAQ Lite[13]--算符重载(新).files/jiao.gif" width=15></DIV></TD>
    <TD background="C++ FAQ Lite[13]--算符重载(新).files/di.gif" height=22>
      <DIV align=left><A href="http://www.csdn.net/develop/"><FONT 
      color=red>开发文档</FONT></A></DIV></TD>
    <TD height=22>
      <DIV align=left><IMG height=22 
      src="C++ FAQ Lite[13]--算符重载(新).files/jiao.gif" width=15></DIV></TD>
    <TD background="C++ FAQ Lite[13]--算符重载(新).files/di.gif" height=22>
      <DIV align=left><FONT color=#ff6633><A 
      href="http://expert.csdn.net/">专家门诊</A></FONT></DIV></TD>
    <TD height=22>
      <DIV align=left><IMG height=22 
      src="C++ FAQ Lite[13]--算符重载(新).files/jiao.gif" width=15></DIV></TD>
    <TD background="C++ FAQ Lite[13]--算符重载(新).files/di.gif" height=22>
      <DIV align=left><FONT color=#ff6633><A 
      href="http://www.csdn.net/job/">招聘求职</A></FONT></DIV></TD>
    <TD height=22>
      <DIV align=left><IMG height=22 
      src="C++ FAQ Lite[13]--算符重载(新).files/jiao.gif" width=15></DIV></TD>
    <TD background="C++ FAQ Lite[13]--算符重载(新).files/di.gif" height=22>
      <DIV align=left><FONT color=#ff6633><A 
      href="http://www.csdn.net/linux/">Linux园地</A></FONT></DIV></TD>
    <TD height=22>
      <DIV align=left><IMG height=22 
      src="C++ FAQ Lite[13]--算符重载(新).files/jiao.gif" width=15></DIV></TD>
    <TD background="C++ FAQ Lite[13]--算符重载(新).files/di.gif" height=22>
      <DIV align=left><A href="http://www.csdn.net/magazine/">程序员杂志</A></DIV></TD>
    <TD width=11 height=22>
      <DIV align=left><IMG height=22 
      src="C++ FAQ Lite[13]--算符重载(新).files/j1.gif" 
width=11></DIV></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=770 border=0>
  <TBODY>
  <TR>
    <TD width=2 bgColor=#001880 height=5></TD>
    <TD width=768 height=5></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=770 border=0>
  <TBODY>
  <TR>
    <TD width=2 bgColor=#001880></TD>
    <TD width=158><IMG src="C++ FAQ Lite[13]--算符重载(新).files/csdn_logo.gif" 
      border=0></TD>
    <TD align=middle width=470>
      <OBJECT id=Movie1 
      codeBase=http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0 
      height=60 width=468 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000><PARAM NAME="movie" VALUE="http://www.csdn.net/images/ad/magazine6_1.swf"><PARAM NAME="quality" VALUE="high">
      <EMBED src='http://www.csdn.net/images/ad/magazine6_1.swf' quality=high 
      WIDTH=468 HEIGHT=60 TYPE='application/x-shockwave-flash' 
      PLUGINSPAGE='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'>
      </EMBED></OBJECT><IMG height=0 
      src="C++ FAQ Lite[13]--算符重载(新).files/pageview.htm" width=0 border=0> </TD>
    <TD align=right width=140>
      <SCRIPT>document.write("<img src=http://www.csdn.net/count/pageview.asp?name=develop border=0 width=0 height=0>");</SCRIPT>
      <A href="http://www.csdn.net/dev/"><IMG height=60 
      src="C++ FAQ Lite[13]--算符重载(新).files/kfzxt3.gif" width=120 border=0></A> 
    </TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=770 border=0>
  <TBODY>
  <TR>
    <TD width=2 bgColor=#001880></TD>
    <FORM action=http://www.csdn.net/member/logon.asp method=post target=_blank>
    <TD vAlign=bottom width=340 bgColor=#e0dedf> 昵称:<INPUT class=from1 size=10 
      name=name> 密码:<INPUT class=from1 type=password size=10 name=pass> <SELECT 
      size=1 name=type> <OPTION value=1>我的论坛</OPTION> <OPTION 
        value=2>我的软件</OPTION> <OPTION value=3>我的订单</OPTION> <OPTION value=4 
        selected>我的文档</OPTION> <OPTION value=5>我的简历</OPTION></SELECT></TD>
    <TD vAlign=bottom width=45 bgColor=#e0dedf><INPUT type=image height=17 
      width=44 src="C++ FAQ Lite[13]--算符重载(新).files/denglu.gif"> </TD>
    <TD vAlign=bottom width=45 bgColor=#e0dedf><A 
      href="http://www.csdn.net/expert/zc.asp" target=_parent><IMG 
      src="C++ FAQ Lite[13]--算符重载(新).files/zhuce.gif" border=0></A> </TD></FORM>
    <FORM action=http://www.csdn.net/find.asp method=post target=_blank>
    <TD vAlign=bottom align=right width=293 bgColor=#e0dedf><INPUT class=from1 
      name=search> <SELECT size=1 name=type> <OPTION value=1>新闻</OPTION> 
        <OPTION value=2>软件</OPTION> <OPTION value=3>商品</OPTION> <OPTION value=4 
        selected>文档</OPTION> <OPTION value=5>论坛</OPTION></SELECT></TD>
    <TD vAlign=bottom width=45 bgColor=#e0dedf><INPUT type=image height=17 
      width=44 src="C++ FAQ Lite[13]--算符重载(新).files/sousuo.gif"> 
  </TD></FORM></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=2 width=770 align=center bgColor=#cccc99 
border=0>
  <TBODY>
  <TR>
    <TH align=left>C++ FAQ Lite[13]--算符重载(新) &nbsp;&nbsp;&nbsp; 
  </TH></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=1 width=770 align=center bgColor=#eeeecc 
border=1>
  <TBODY>
  <TR>
    <TD align=left width=300><B>关键字:</B><BR>c++ faq lite overload </TD>
    <TD align=middle width=120><B>贴文时间</B><BR>2001-8-25 15:30:54 </TD>
    <TD align=middle width=80><B>文章类型: </B><BR>翻译 </TD>
    <TD align=middle width=100><B>给贴子投票 </B><BR><A 
      href="http://www.csdn.net/develop/addscore.asp?id=10010">投票</A> </TD></TR>
  <TR>
    <TD>&nbsp; Nicrosoft &nbsp;&nbsp; 翻译 </TD>
    <TD vAlign=top colSpan=3><B>出处: </B><A 
      href="http://www.sunistudio.com/cppfaq/">http://www.sunistudio.com/cppfaq/</A></TD></TR>
  <TR>
    <TD bgColor=#cccc99 colSpan=5>&nbsp;</TD></TR></TD></TR></TBODY></TABLE>
<DIV align=center>
<DIV class=fst align=left>
<DIV class=fstdiv3 id=print2><BR><BR>
<H1><A name=top></A>[13] 算符重载<BR><SMALL><SMALL>(Part of <A 
href="http://www.sunistudio.com/cppfaq/index.html"><EM>C++ FAQ Lite</EM></A>, <A 
href="http://www.sunistudio.com/cppfaq/copy-permissions.html#[1.2]">Copyright&nbsp;&copy; 
1991-2001</A>, <A href="http://www.parashift.com/" target=OutsideTheFAQ>Marshall 
Cline</A>, <A 
href="mailto:cline@parashift.com">cline@parashift.com</A>)</SMALL></SMALL></H1>
<P>简体中文版翻译:<A href="http://www.sunistudio.com/nicrosoft">申旻</A>,<A 
href="mailto:nicrosoft@sunistudio.com">nicrosoft@sunistudio.com</A>(<A 
href="http://www.sunistudio.com/">东日制作室</A>,<A 
href="http://www.sunistudio.com/asp/sunidoc.asp">东日文档</A>)</P>
<HR>

<H3>FAQs in section [13]:</H3>
<UL>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -