📄 index-2.htm
字号:
<html>
<head>
<title>Techniques</title>
<meta name="description" content="Advanced programming techniques in C++">
<meta name="keywords" content="code review, programming, technique, methodology">
<link rel="stylesheet" href="rs.css" tppabs="http://www.relisoft.com/book/rs.css">
</head>
<body background="margin.gif" tppabs="http://www.relisoft.com/book/images/margin.gif" bgcolor="#ffffe0">
<!-- Main Table -->
<table width="100%">
<tr>
<td width=90>
<td>
<h1>Techniques</h1>
<ul>
<li><a href="intro-2.html" tppabs="http://www.relisoft.com/book/tech/intro.html">Introduction</a>
</ul>
<tr> <!--Margin picture-->
<td align="RIGHT" valign="TOP">
<a href="1cleanup.html" tppabs="http://www.relisoft.com/book/tech/1cleanup.html">
<img src="chap.gif" tppabs="http://www.relisoft.com/book/images/chap.gif" width=41 height=30 border=1 alt="Go to chapter">
</a>
<td>
<h2><a href="1cleanup.html" tppabs="http://www.relisoft.com/book/tech/1cleanup.html">Code Review 1: The Cleanup</a></h2>
<ul>
<li>Improving Code Grouping
<li>Decoupling the Output
<li>Fighting Devensive Programming
<li>A Case of Paranoid Programming
<li>Fringes
<li>Improving Communication Between Classes
<li>Correcting Design Flaws
</ul>
<tr> <!--Margin picture-->
<td align="RIGHT" valign="TOP">
<a href="2hiding.html" tppabs="http://www.relisoft.com/book/tech/2hiding.html">
<img src="chap.gif" tppabs="http://www.relisoft.com/book/images/chap.gif" width=41 height=30 border=1 alt="Go to chapter">
</a>
<td>
<h2><a href="2hiding.html" tppabs="http://www.relisoft.com/book/tech/2hiding.html">Code Review 2: Hiding Implementation Details</a></h2>
<ul>
<li>Using Embedded Classes
<li>Hiding Constants in Enumerations
<li>Hiding Constants in Local Variables
</ul>
<tr> <!--Margin picture-->
<td align="RIGHT" valign="TOP">
<a href="3sharing.html" tppabs="http://www.relisoft.com/book/tech/3sharing.html">
<img src="chap.gif" tppabs="http://www.relisoft.com/book/images/chap.gif" width=41 height=30 border=1 alt="Go to chapter">
</a>
<td>
<h2><a href="3sharing.html" tppabs="http://www.relisoft.com/book/tech/3sharing.html">Code Review 3: Sharing</a></h2>
<ul>
<li>Isolating Global Parameters
<li>Testing Boundary Conditions
<li>Code Reuse through Templates
</ul>
<tr> <!--Margin picture-->
<td align="RIGHT" valign="TOP">
<a href="4limit.html" tppabs="http://www.relisoft.com/book/tech/4limit.html">
<img src="chap.gif" tppabs="http://www.relisoft.com/book/images/chap.gif" width=41 height=30 border=1 alt="Go to chapter">
</a>
<td>
<h2><a href="4limit.html" tppabs="http://www.relisoft.com/book/tech/4limit.html">Code Review 4: Removing Limitations</a></h2>
<ul>
<li>Dynamic Array
<li>Separating Functionality into New Classes
</ul>
<tr> <!--Margin picture-->
<td align="RIGHT" valign="TOP">
<a href="5resource.html" tppabs="http://www.relisoft.com/book/tech/5resource.html">
<img src="chap.gif" tppabs="http://www.relisoft.com/book/images/chap.gif" width=41 height=30 border=1 alt="Go to chapter">
</a>
<td>
<h2><a href="5resource.html" tppabs="http://www.relisoft.com/book/tech/5resource.html">Code Review 5: Resource Management</a></h2>
<ul>
<li>Exceptions
<li>Stack Unwinding
<li>Resources
<li>Auto Pointers
<li>Auto Vectors
</ul>
<tr> <!--Margin picture-->
<td align="RIGHT" valign="TOP">
<a href="6lib.html" tppabs="http://www.relisoft.com/book/tech/6lib.html">
<img src="chap.gif" tppabs="http://www.relisoft.com/book/images/chap.gif" width=41 height=30 border=1 alt="Go to chapter">
</a>
<td>
<h2><a href="6lib.html" tppabs="http://www.relisoft.com/book/tech/6lib.html">Code Review 6: Making Use of Standard Template Library</a></h2>
<ul>
<li>Associative Arrays
<li>Reference Counting and Copy-on-Write
<li>Exploring Streams
</ul>
<tr> <!--Margin picture-->
<td align="RIGHT" valign="TOP">
<a href="7serial.html" tppabs="http://www.relisoft.com/book/tech/7serial.html">
<img src="chap.gif" tppabs="http://www.relisoft.com/book/images/chap.gif" width=41 height=30 border=1 alt="Go to chapter">
</a>
<td>
<h2><a href="7serial.html" tppabs="http://www.relisoft.com/book/tech/7serial.html">Code Review 7: Serialization and Deserialization</a></h2>
<ul>
<li>The Calculator Object
<li>Command Parser
<li>Serialization and Deserialization
<li>In-memory (De-) Serialization
<li>Multiple Inheritance
<li><a href="8trans.html" tppabs="http://www.relisoft.com/book/tech/8trans.html">Transactions</a>
</ul>
<tr> <!--Margin picture-->
<td align="RIGHT" valign="TOP">
<a href="9new.html" tppabs="http://www.relisoft.com/book/tech/9new.html">
<img src="chap.gif" tppabs="http://www.relisoft.com/book/images/chap.gif" width=41 height=30 border=1 alt="Go to chapter">
</a>
<td>
<h2><a href="9new.html" tppabs="http://www.relisoft.com/book/tech/9new.html">Overloading operator new</a></h2>
<ul>
<li>Class-specific new
<li>Global new
</ul>
</table>
<!-- End Main Table -->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -