发 帖  
原厂入驻New

《C++语言程序设计》习题参考答案

2008-9-5 18:03:31  2731
分享
 
<p class="MsoNormal"><span lang="EN-US" style="FONT-SIZE: 12pt"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 42.75pt; TEXT-INDENT: -42.75pt; mso-list: l0="l0"  level1="level1"  lfo1; tab-stops: list="list"  42.75pt"><b style="mso-bidi-font-weight: normal"><span lang="EN-US" style="mso-bidi-font-family: 宋体"><span style="mso-list: Ignore">第一章<span style="FONT: 7pt="7pt"  'times New="New"  Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span></b><b><span lang="EN-US">C++</span></b><b><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New="New"  Roman'; mso-hansi-font-family: 'Times New="New"  Roman'">语言概述</span></b></p>
<p class="MsoNormal"><span style="BACKGROUND: #d9d9d9; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New="New"  Roman'; mso-hansi-font-family: 'Times New="New"  Roman'; mso-shading: white; mso-pattern: gray-15 auto">自测题</span><span lang="EN-US"><span style="mso-spacerun: yes">&nbsp; </span>P2 1.1<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:chmetcnv w:st="on" tcsc="0" numbertype="1" negative="True" hasspace="True" sourcevalue="1" unitname="C">-1<span style="mso-spacerun: yes">&nbsp; </span>C</st1:chmetcnv><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span></span></p>
<p class="MsoNormal" style="TEXT-INDENT: 31.5pt; mso-char-indent-count: 3.0"><span lang="EN-US">P8<span style="mso-spacerun: yes">&nbsp; </span>1.2-1<span style="mso-spacerun: yes">&nbsp; </span></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New="New"  Roman'; mso-hansi-font-family: 'Times New="New"  Roman'">形式参数表</span><span lang="EN-US"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>1.2-2<span style="mso-spacerun: yes">&nbsp; </span>main<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>1.2-3<span style="mso-spacerun: yes">&nbsp; </span>; </span></p>
<p class="MsoNormal" style="TEXT-INDENT: 52.1pt; mso-char-indent-count: 4.96"><span lang="EN-US">1.2-4<span style="mso-spacerun: yes">&nbsp; </span>}<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>1.2-5<span style="mso-spacerun: yes">&nbsp; </span>main<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>1.2-6 </span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New="New"  Roman'; mso-hansi-font-family: 'Times New="New"  Roman'">显示器</span><span lang="EN-US"><span style="mso-spacerun: yes">&nbsp; </span></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New="New"  Roman'; mso-hansi-font-family: 'Times New="New"  Roman'">输出流</span><span lang="EN-US"><span style="mso-spacerun: yes">&nbsp; </span></span></p>
<p class="MsoNormal" style="TEXT-INDENT: 52.1pt; mso-char-indent-count: 4.96"><span lang="EN-US">1.2-7<span style="mso-spacerun: yes">&nbsp;&nbsp; </span></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New="New"  Roman'; mso-hansi-font-family: 'Times New="New"  Roman'">键盘</span><span lang="EN-US"><span style="mso-spacerun: yes">&nbsp; </span></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New="New"  Roman'; mso-hansi-font-family: 'Times New="New"  Roman'">输入流</span><span lang="EN-US"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>1.2-8<span style="mso-spacerun: yes">&nbsp; </span></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New="New"  Roman'; mso-hansi-font-family: 'Times New="New"  Roman'">头文件</span><span lang="EN-US"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>1.2-9<span style="mso-spacerun: yes">&nbsp; </span>int<span style="mso-spacerun: yes">&nbsp; </span>f( );</span></p>
<p class="MsoNormal" style="TEXT-INDENT: 52.5pt; mso-char-indent-count: 5.0"><span lang="EN-US">1.2-10<span style="mso-spacerun: yes">&nbsp; </span>124<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>1.2-11<span style="mso-spacerun: yes">&nbsp; </span></span><span style="FONT-FAMILY: 宋体">×<span lang="EN-US"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>1.2-12 </span>×<span lang="EN-US"><o:p></o:p></span></span></p>
<p class="MsoNormal" style="TEXT-INDENT: 52.5pt; mso-char-indent-count: 5.0"><span lang="EN-US" style="FONT-FAMILY: 宋体">1.2-13<span style="mso-spacerun: yes">&nbsp; </span></span><span style="FONT-FAMILY: 宋体">√<span lang="EN-US"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>1.2-14<span style="mso-spacerun: yes">&nbsp; </span></span>√<span lang="EN-US"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>1.2-15<span style="mso-spacerun: yes">&nbsp; </span></span>×<span lang="EN-US"><o:p></o:p></span></span></p>
<p class="MsoNormal" style="TEXT-INDENT: 52.5pt; mso-char-indent-count: 5.0"><span lang="EN-US" style="FONT-FAMILY: 宋体">1.2-16<span style="mso-spacerun: yes">&nbsp; </span></span><span style="FONT-FAMILY: 宋体">√<span lang="EN-US"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>1.2-17<span style="mso-spacerun: yes">&nbsp; </span>ABCFG<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>1.2-18<span style="mso-spacerun: yes">&nbsp; </span>D<o:p></o:p></span></span></p>
<p class="MsoNormal" style="TEXT-INDENT: 52.5pt; mso-char-indent-count: 5.0"><span lang="EN-US" style="FONT-FAMILY: 宋体">1.2-19<span style="mso-spacerun: yes">&nbsp; </span>D</span></p>
<p class="MsoNormal"><span lang="EN-US"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </span>P11<span style="mso-spacerun: yes">&nbsp; </span>1.3-1<span style="mso-spacerun: yes">&nbsp; </span>OBJ<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>1.3-2<span style="mso-spacerun: yes">&nbsp; </span>source.cpp</span></p>
VHXthP1n.doc (218 KB, 下载次数: 0)
<br/>
0
2008-9-5 18:03:31   评论 分享淘帖
1 个讨论
多谢楼主的分享
2011-4-30 16:24:55 评论

举报

只有小组成员才能发言,加入小组>>

135个成员聚集在这个小组

加入小组

创建小组步骤

关闭

站长推荐 上一条 /7 下一条

快速回复 返回顶部 返回列表