📄 x_course_margin.htm
字号:
<b>3.1 类和对象</b></a>(一)<br>
<div id=cnn1-3-1x style='display:none'> <a href="ppt/course3-1-1.ppt" target="mainFrame" id=cnn1-3-1-1 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.1.1 类定义</a><br>
<a href="ppt/course3-1-2.ppt" target="mainFrame" id=cnn1-3-1-2 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.1.2 对象定义</a><br>
<a href="ppt/course3-1-3.ppt" target="mainFrame" id=cnn1-3-1-3 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.1.3 对象的初始化</a><br>
<a href="ppt/course3-1-4.ppt" target="mainFrame" id=cnn1-3-1-4 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.1.4 内联成员函数</a><br>
<a href="ppt/course3-1-5.ppt" target="mainFrame" id=cnn1-3-1-5 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.1.5 带缺省参数的成员函数</a><br>
<a href="ppt/course3-1-6.ppt" target="mainFrame" id=cnn1-3-1-6 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.1.6 对象与成员函数</a><br>
<a href="ppt/course3-1-7.ppt" target="mainFrame" id=cnn1-3-1-7 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.1.7 静态数据成员和成员函数</a><br>
<a href="ppt/course3-1-8.ppt" target="mainFrame" id=cnn1-3-1-8 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.1.8 成员函数重载</a><br>
</div>
</div>
<div id=cnn1-3-2> <a href="ppt/course3-2-1.ppt" target="mainFrame" id=cnn1-3-2 class=Contents><IMG SRC="img/icon_book_close.gif" id=cnn1-3-2 border=0 class=Contents>
<b>3.2 类与对象(二)</b></a><br>
<div id=cnn1-3-2x style='display:none'> <a href="ppt/course3-2-1.ppt" target="mainFrame" id=cnn1-3-2-1 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.2.1 this指针</a><br>
<a href="ppt/course3-2-2.ppt" target="mainFrame" id=cnn1-3-2-2 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.2.2 const关键字</a><br>
<a href="ppt/course3-2-3.ppt" target="mainFrame" id=cnn1-3-2-3 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.2.3 友元</a><br>
<a href="ppt/course3-2-4.ppt" target="mainFrame" id=cnn1-3-2-4 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.2.4 引用</a><br>
<a href="ppt/course3-2-5.ppt" target="mainFrame" id=cnn1-3-2-5 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.2.5 嵌套类</a><br>
<a href="ppt/course3-2-6.ppt" target="mainFrame" id=cnn1-3-2-6 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.2.6 前向引用声明</a><br>
</div>
</div>
<div id=cnn1-3-3> <a href="ppt/course3-3-1.ppt" target="mainFrame" id=cnn1-3-3 class=Contents><IMG SRC="img/icon_book_close.gif" id=cnn1-3-3 border=0 class=Contents>
<b>3.3 类继承</b></a><br>
<div id=cnn1-3-3x style='display:none'> <a href="ppt/course3-3-1.ppt" target="mainFrame" id=cnn1-3-3-1 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.3.1 基类和派生类</a><br>
<a href="ppt/course3-3-2.ppt" target="mainFrame" id=cnn1-3-3-2 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.3.2 多继承</a><br>
<a href="ppt/course3-3-3.ppt" target="mainFrame" id=cnn1-3-3-3 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.3.3 虚函数</a><br>
<a href="ppt/course3-3-4.ppt" target="mainFrame" id=cnn1-3-3-4 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.3.4 虚基类</a><br>
<a href="test.htm" target="mainFrame" id=cnn1-3-3-5 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.3.5 应用实例—日期和时间</a><br>
</div>
</div>
<div id=cnn1-3-4> <a href="test.htm" target="mainFrame" id=cnn1-3-4 class=Contents><IMG SRC="img/icon_book_close.gif" id=cnn1-3-4 border=0 class=Contents>
<b>3.4 多态性</b></a><br>
<div id=cnn1-3-4x style='display:none'> <a href="course3-4-1.htm" target="mainFrame" id=cnn1-3-4-1 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.4.1 函数重载</a><br>
<a href="ppt/course3-4-2.ppt" target="mainFrame" id=cnn1-3-4-2 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.4.2 操作符重载</a><br>
<a href="test.htm" target="mainFrame" id=cnn1-3-4-3 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.4.3 静态联编和动态联编</a><br>
<a href="course3-4-4.htm" target="mainFrame" id=cnn1-3-4-4 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.4.4 虚函数</a><br>
<a href="test.htm" target="mainFrame" id=cnn1-3-4-5 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.4.5 虚析构函数</a> </div>
</div>
<div id=cnn1-3-5> <a href="ppt/course3-5-1.ppt" target="mainFrame" id=cnn1-3-5 class=Contents><IMG SRC="img/icon_book_close.gif" id=cnn1-3-5 border=0 class=Contents><b>
3.5 模板</b></a><br>
<div id=cnn1-3-5x style='display:none'> <a href="ppt/course3-5-1.ppt" target="mainFrame" id=cnn1-3-5-1 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.5.1 模板定义</a><br>
<a href="ppt/course3-5-2.ppt" target="mainFrame" id=cnn1-3-5-2 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.5.2 函数模板</a><br>
<a href="ppt/course3-5-3.ppt" target="mainFrame" id=cnn1-3-5-3 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.5.3 类模板</a><br>
<a href="ppt/course3-5-4.ppt" target="mainFrame" id=cnn1-3-5-4 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.5.4 模板的引用声明与定义声明</a><br>
</div>
</div>
<div id=cnn1-3-6> <a href="ppt/course3-6-1.ppt" target="mainFrame" id=cnn1-3-6 class=Contents><IMG SRC="img/icon_book_close.gif" id=cnn1-3-6 border=0 class=Contents>
<b>3.6 异常处理</b></a><br>
<div id=cnn1-3-6x style='display:none'> <a href="ppt/course3-6-1.ppt" target="mainFrame" id=cnn1-3-6-1 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.6.1 异常的引发与处理</a><br>
<a href="ppt/course3-6-2.ppt" target="mainFrame" id=cnn1-3-6-2 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.6.2 异常接口规范声明</a><br>
<a href="ppt/course3-6-3.ppt" target="mainFrame" id=cnn1-3-6-3 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.6.3 异常的捕获</a><br>
<a href="ppt/course3-6-4.ppt" target="mainFrame" id=cnn1-3-6-4 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.6.4 异常分类</a><br>
</div>
</div>
<div id=cnn1-3-7> <a href="ppt/course3-7-0.ppt" target="mainFrame" id=cnn1-3-7 class=Contents><IMG SRC="img/icon_book_close.gif" id=cnn1-3-7 border=0 class=Contents>
<b>3.7 C++的I/O流库</b></a><br>
<div id=cnn1-3-7x style='display:none'> <a href="ppt/course3-7-1.ppt" target="mainFrame" id=cnn1-3-7-1 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.7.1 屏幕输出</a><br>
<a href="ppt/course3-7-2.ppt" target="mainFrame" id=cnn1-3-7-2 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.7.2 键盘输入</a><br>
<a href="ppt/course3-7-3.ppt" target="mainFrame" id=cnn1-3-7-3 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.7.3 插入符和提取符的重载</a><br>
<a href="ppt/course3-7-4.ppt" target="mainFrame" id=cnn1-3-7-4 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.7.4 格式化输入和输出</a><br>
<a href="ppt/course3-7-5.ppt" target="mainFrame" id=cnn1-3-7-5 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.7.5 磁盘文件的输入和输出</a><br>
<a href="test.htm" target="mainFrame" id=cnn1-3-7-7 class=xContents><IMG SRC="img/icon_doc.gif" border=0 class=xContents>
3.7.6 流错误的处理</a><br>
</div>
</div>
<a href="course3-ex.htm" target="mainFrame" id=cnn1-3-7 class=xContents>
<IMG SRC="img/icon_doc.gif" border=0 class=xContents><b> 练习与思考题</b></a><br>
<a href="test.htm" target="mainFrame" id=cnn1-3-8 class=xContents>
<IMG SRC="img/icon_doc.gif" border=0 class=xContents> <b>参考文献和站点</b></a><br>
</div>
</div>
</div>
</td>
</tr>
</table>
</td>
<td width=1 height=100% bgColor=#888888><IMG SRC="img/clear.gif" border=0></td>
</tr>
</table>
</body>
<script language="JavaScript">
function doContents(){
var targetId,srcElement,targetElement,theSameID;
srcElement=window.event.srcElement;
if (srcElement.className=="Contents"){
theSameID=srcElement.id;
srcElement=document.all(theSameID,2);
targetId=srcElement.id+"x";
targetElement = document.all(targetId);
if (targetElement.style.display=="none"){
targetElement.style.display="";
if (srcElement.tagName=="IMG"){
srcElement.src="img/icon_book_open.gif";
}
}
else{
targetElement.style.display="none";
if (srcElement.tagName=="IMG"){
srcElement.src="img/icon_book_close.gif";
}
}
}
}
Contents.onclick=doContents;
</script>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -