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

📄 table1-5.htm

📁 Visual C++面向对象程序设计教程(配套习题资源)
💻 HTM
字号:
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>表1-5</title>
</head>

<body>

<p ALIGN="CENTER"><font size="2"><b><font FACE="oúì?,SimHei" LANG="ZH-CN">表</font>1-5 
C++<font FACE="oúì?,SimHei" LANG="ZH-CN">语言中的语句</font></b></font></p>
<center>
<table BORDER="1" CELLSPACING="1" CELLPADDING="7" WIDTH="560">
  <tr>
    <td WIDTH="23%" VALIGN="MIDDLE" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font FACE="??ì?,SimSun" LANG="ZH-CN" size="2">类型</font></td>
    <td WIDTH="30%" VALIGN="MIDDLE" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font FACE="??ì?,SimSun" LANG="ZH-CN" size="2">名称</font></td>
    <td WIDTH="47%" VALIGN="TOP" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font FACE="??ì?,SimSun" LANG="ZH-CN" size="2">一般形式</font></td>
  </tr>
  <tr>
    <td WIDTH="23%" VALIGN="MIDDLE" ROWSPAN="4" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font FACE="??ì?,SimSun" LANG="ZH-CN" size="2">简单语句</font></td>
    <td WIDTH="30%" VALIGN="MIDDLE" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font FACE="??ì?,SimSun" LANG="ZH-CN" size="2">表达式语句</font></td>
    <td WIDTH="47%" VALIGN="TOP" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font FACE="??ì?,SimSun" LANG="ZH-CN" size="2">表达式</font></td>
  </tr>
  <tr>
    <td WIDTH="30%" VALIGN="MIDDLE" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font FACE="??ì?,SimSun" LANG="ZH-CN" size="2">空语句</font></td>
    <td WIDTH="47%" VALIGN="TOP" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="2">;</font></td>
  </tr>
  <tr>
    <td WIDTH="30%" VALIGN="MIDDLE" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font FACE="??ì?,SimSun" LANG="ZH-CN" size="2">返回语句</font></td>
    <td WIDTH="47%" VALIGN="TOP" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="2">return; 
      <font FACE="??ì?,SimSun" LANG="ZH-CN">或</font>return(<font FACE="??ì?,SimSun" LANG="ZH-CN">表达式</font>)</font></td>
  </tr>
  <tr>
    <td WIDTH="30%" VALIGN="MIDDLE" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font FACE="??ì?,SimSun" LANG="ZH-CN" size="2">复合语句</font></td>
    <td WIDTH="47%" VALIGN="TOP" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="2">{<font FACE="??ì?,SimSun" LANG="ZH-CN">语句</font>; 
      <font FACE="??ì?,SimSun" LANG="ZH-CN">…</font>}</font></td>
  </tr>
  <tr>
    <td WIDTH="23%" VALIGN="MIDDLE" ROWSPAN="2" HEIGHT="15" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font FACE="??ì?,SimSun" LANG="ZH-CN" size="2">选择语句</font></td>
    <td WIDTH="30%" VALIGN="MIDDLE" HEIGHT="15" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font FACE="??ì?,SimSun" LANG="ZH-CN" size="2">条件语句</font></td>
    <td WIDTH="47%" VALIGN="TOP" HEIGHT="15" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="2">If(<font FACE="??ì?,SimSun" LANG="ZH-CN">表达式</font>) 
      <font FACE="??ì?,SimSun" LANG="ZH-CN">语句</font>1;</font></p>
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="2">else 
      <font FACE="??ì?,SimSun" LANG="ZH-CN">语句</font>2;</font></td>
  </tr>
  <tr>
    <td WIDTH="30%" VALIGN="MIDDLE" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font FACE="??ì?,SimSun" LANG="ZH-CN" size="2">开关语句</font></td>
    <td WIDTH="47%" VALIGN="TOP" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="2">switch(<font FACE="??ì?,SimSun" LANG="ZH-CN">表达式</font>)</font></p>
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="2">{case 
      <font FACE="??ì?,SimSun" LANG="ZH-CN">常量表达</font>: <font FACE="??ì?,SimSun" LANG="ZH-CN">语句</font>;</font></p>
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font FACE="??ì?,SimSun" LANG="ZH-CN" size="2">…</font></p>
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="2">default 
      : <font FACE="??ì?,SimSun" LANG="ZH-CN">语句</font>;</font></p>
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="2">}</font></td>
  </tr>
  <tr>
    <td WIDTH="23%" VALIGN="MIDDLE" ROWSPAN="3" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font FACE="??ì?,SimSun" LANG="ZH-CN" size="2">循环语句</font></td>
    <td WIDTH="30%" VALIGN="MIDDLE" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="2">while<font FACE="??ì?,SimSun" LANG="ZH-CN">语句</font></font></td>
    <td WIDTH="47%" VALIGN="TOP" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="2">while(<font FACE="??ì?,SimSun" LANG="ZH-CN">表达式</font>)</font></p>
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="2"><font FACE="??ì?,SimSun" LANG="ZH-CN">语句</font>;</font></td>
  </tr>
  <tr>
    <td WIDTH="30%" VALIGN="MIDDLE" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="2">for<font FACE="??ì?,SimSun" LANG="ZH-CN">语句</font></font></td>
    <td WIDTH="47%" VALIGN="TOP" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="2">for(<font FACE="??ì?,SimSun" LANG="ZH-CN">表达式</font>1; 
      <font FACE="??ì?,SimSun" LANG="ZH-CN">表达式</font>2; <font FACE="??ì?,SimSun" LANG="ZH-CN">表达式</font>3)</font></p>
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="2"><font FACE="??ì?,SimSun" LANG="ZH-CN">语句</font>;</font></td>
  </tr>
  <tr>
    <td WIDTH="30%" VALIGN="MIDDLE" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="2">do~while<font FACE="??ì?,SimSun" LANG="ZH-CN">语句</font></font></td>
    <td WIDTH="47%" VALIGN="TOP" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="2">do 
      {</font></p>
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="2"><font FACE="??ì?,SimSun" LANG="ZH-CN">语句</font>;</font></p>
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="2">}while(<font FACE="??ì?,SimSun" LANG="ZH-CN">表达式</font>);</font></td>
  </tr>
  <tr>
    <td WIDTH="23%" VALIGN="MIDDLE" ROWSPAN="3" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font FACE="??ì?,SimSun" LANG="ZH-CN" size="2">转移语句</font></td>
    <td WIDTH="30%" VALIGN="MIDDLE" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="2">break<font FACE="??ì?,SimSun" LANG="ZH-CN">语句</font></font></td>
    <td WIDTH="47%" VALIGN="TOP" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="2">break;</font></td>
  </tr>
  <tr>
    <td WIDTH="30%" VALIGN="MIDDLE" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="2">continue<font FACE="??ì?,SimSun" LANG="ZH-CN">语句</font></font></td>
    <td WIDTH="47%" VALIGN="TOP" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="2">continue 
      ;</font></td>
  </tr>
  <tr>
    <td WIDTH="30%" VALIGN="MIDDLE" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="2">goto<font FACE="??ì?,SimSun" LANG="ZH-CN">语句</font></font></td>
    <td WIDTH="47%" VALIGN="TOP" bgcolor="#99CCFF">
      <p ALIGN="justify" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="2">goto 
      <font FACE="??ì?,SimSun" LANG="ZH-CN">标号</font></font></td>
  </tr>
</table>
</center>

</body>

</html>

⌨️ 快捷键说明

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