📄 ticv2.html
字号:
{margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.25in; margin-bottom:.0001pt; text-indent:-.25in; font-size:14.0pt; font-family:"Verdana";}p.TOCspace, li.TOCspace, div.TOCspace {margin:0in; margin-bottom:.0001pt; line-height:25%; font-size:10pt; font-family:Verdana;}p.STLAlgorithmCharChar, li.STLAlgorithmCharChar, div.STLAlgorithmCharChar {margin-top:0in; margin-right:0in; margin-bottom:12.0pt; margin-left:.25in; line-height:13pt; border:none; padding:0in; font-size:10.0pt; font-family:"Courier New";}span.STLAlgorithmCharCharChar {font-family:"Courier New";}span.CodeCharChar {font-family:"Courier New";}span.CodeInlineCharCharChar {font-family:"Courier New";}span.CodeInlineTrailerCharCharChar {font-family:"Courier New";}p.Exercises, li.Exercises, div.Exercises {margin-top:0in; margin-right:0in; margin-bottom:9.0pt; margin-left:.75in; text-indent:-.25in; line-height:14.0pt; font-size:11.0pt; font-family:Verdana;}span.CodeCharCharChar {font-family:"Courier New";}p.ChapterTitle, li.ChapterTitle, div.ChapterTitle {margin-top:0in; margin-right:0in; margin-bottom:.5in; margin-left:.5in; background:white; font-size:32.0pt; font-family:Verdana;}p.CodeInlineCharCharChar1CharCharChar, li.CodeInlineCharCharChar1CharCharChar, div.CodeInlineCharCharChar1CharCharChar {margin-top:0in; margin-right:0in; margin-bottom:3.0pt; margin-left:.25in; line-height:12.0pt; border:none; padding:0in; font-size:10.0pt; font-family:"Courier New";}p.CodeInlineTrailerChar, li.CodeInlineTrailerChar, div.CodeInlineTrailerChar {margin-top:0in; margin-right:0in; margin-bottom:1.0pt; margin-left:.85in; line-height:normal; font-size:3.0pt; font-family:Verdana;}span.CodeInlineCharCharChar1CharCharCharChar {font-family:"Courier New";}p.Bullet, li.Bullet, div.Bullet {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.2in; margin-bottom:.0001pt; line-height:normal; font-size:12.0pt; font-family:"Tms Rmn"; color:black;}p.EmphasisP, li.EmphasisP, div.EmphasisP {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:-.1in; margin-bottom:.0001pt; line-height:13pt; page-break-after:avoid; font-size:10pt; font-family:Verdana; font-weight:bold; font-style:italic;}p.makeapoint, li.makeapoint, div.makeapoint {margin-top:0in; margin-right:0in; margin-bottom:9.0pt; margin-left:.8in; font-size:14.0pt; font-family:Verdana; font-style:italic;}p.DrawingObject, li.DrawingObject, div.DrawingObject {margin-top:0in; margin-right:0in; margin-bottom:9.0pt; margin-left:0in; text-align:center; line-height:11.0pt; font-size:10pt; font-family:Arial; color:black; letter-spacing:-.2pt;}p.Comments, li.Comments, div.Comments {margin-top:6.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:.25in; line-height:22.0pt; page-break-after:avoid; font-size:18.0pt; font-family:Verdana;}p.TitleNoTOC, li.TitleNoTOC, div.TitleNoTOC {margin-top:0in; margin-right:-76.3pt; margin-bottom:12.0pt; margin-left:49.7pt; text-indent:-.75in; page-break-after:avoid; background:white; font-size:38.0pt; font-family:Verdana; color:black;}p.TitlePage1, li.TitlePage1, div.TitlePage1 {margin-top:0in; margin-right:0in; margin-bottom:9.0pt; margin-left:.25in; text-align:center; font-size:79.0pt; font-family:Verdana; letter-spacing:-1.0pt;}p.TitlePage2, li.TitlePage2, div.TitlePage2 {margin:0in; margin-bottom:.0001pt; text-align:center; background:white; font-size:32.0pt; font-family:Verdana;}p.TitlePage3, li.TitlePage3, div.TitlePage3 {margin-top:0in; margin-right:0in; margin-bottom:.25in; margin-left:0in; text-align:center; line-height:72.0pt; background:white; font-size:80.0pt; font-family:Verdana; color:black; letter-spacing:-1.0pt;}p.TitlePage4, li.TitlePage4, div.TitlePage4 {margin-top:0in; margin-right:0in; margin-bottom:.25in; margin-left:0in; text-align:center; background:white; font-size:20.0pt; font-family:Verdana;}p.TitlePage5, li.TitlePage5, div.TitlePage5 {margin:0in; margin-bottom:.0001pt; text-align:center; background:white; font-size:32.0pt; font-family:Verdana;}p.TitlePage6, li.TitlePage6, div.TitlePage6 {margin-top:0in; margin-right:0in; margin-bottom:.5in; margin-left:0in; text-align:center; background:white; font-size:20.0pt; font-family:Verdana;}p.TabularText, li.TabularText, div.TabularText {margin-top:0in; margin-right:0in; margin-bottom:3.0pt; margin-left:.5in; line-height:13pt; font-size:10pt; font-family:Verdana;}p.TableFollower, li.TableFollower, div.TableFollower {margin-top:9.0pt; margin-right:0in; margin-bottom:9.0pt; margin-left:.25in; line-height:13pt; font-size:10pt; font-family:Verdana;}p.Quote, li.Quote, div.Quote {margin-top:0in; margin-right:0in; margin-bottom:8.0pt; margin-left:.25in; line-height:13pt; font-size:10pt; font-family:Verdana;}p.LicenseAgreement, li.LicenseAgreement, div.LicenseAgreement {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.25in; margin-bottom:.0001pt; line-height:13.0pt; font-size:9.0pt; font-family:Verdana;}p.DefinitionList, li.DefinitionList, div.DefinitionList {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.25in; margin-bottom:.0001pt; line-height:13pt; font-size:10pt; font-family:"Verdana";}p.tocspace0, li.tocspace0, div.tocspace0 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.25in; margin-bottom:.0001pt; line-height:3.0pt; font-size:10pt; font-family:Verdana;}p.TOCPart, li.TOCPart, div.TOCPart {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; line-height:18.0pt; page-break-after:avoid; background:#E0E0E0; font-size:14.0pt; font-family:Verdana;}p.parttitle, li.parttitle, div.parttitle {margin-top:12.0pt; margin-right:-76.3pt; margin-bottom:12.0pt; margin-left:-85.7pt; text-indent:85.7pt; page-break-after:avoid; font-size:48.0pt; font-family:Verdana; font-weight:bold;}p.Partbleed, li.Partbleed, div.Partbleed {margin-top:12.0pt; margin-right:0in; margin-bottom:0in; margin-left:0in; margin-bottom:.0001pt; line-height:normal; page-break-after:avoid; background:#E0E0E0; font-size:24.0pt; font-family:Verdana; font-weight:bold;}p.tabletext, li.tabletext, div.tabletext {margin-top:6.0pt; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; line-height:13pt; font-size:10pt; font-family:Verdana;}p.tablehead0, li.tablehead0, div.tablehead0 {margin-top:6.0pt; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; line-height:13pt; font-size:12.0pt; font-family:Verdana; font-weight:bold;}p.Code0, li.Code0, div.Code0 {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.25in; margin-bottom:.0001pt; line-height:14.0pt; text-autospace:none; font-size:10.0pt; font-family:"Courier New"; color:black;}p.CodeInlineChar, li.CodeInlineChar, div.CodeInlineChar {margin-top:0in; margin-right:0in; margin-bottom:3.0pt; margin-left:.25in; line-height:12.0pt; border:none; padding:0in; font-size:10.0pt; font-family:"Courier New";}span.ExercisesCharCharCharCharCharChar {font-family:Verdana;}p.CodeCharChar1CharCharCharCharChar, li.CodeCharChar1CharCharCharCharChar, div.CodeCharChar1CharCharCharCharChar {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.25in; margin-bottom:.0001pt; line-height:12.0pt; border:none; padding:0in; font-size:10pt; font-family:"Courier New";}span.CodeInlineCharChar {font-family:"Courier New";}span.CodeInlineTrailerCharChar1 {font-family:Verdana;}ins {text-decoration:none;}span.msoIns {text-decoration:underline;}span.msoDel {text-decoration:line-through; color:red;} <font color=#7F7F7F>/* Page Definitions */</font> @page Section1 {size:8.5in 11.0in; margin:135.35pt 1.5in 135.35pt 1.75in;}div.Section1 {page:Section1;}@page Section2 {size:8.5in 11.0in; margin:135.35pt 1.5in 135.35pt 1.75in;}div.Section2 {page:Section2;}@page Section3 {size:8.5in 11.0in; margin:135.35pt 1.5in 135.35pt 1.75in;}div.Section3 {page:Section3;}@page Section4 {size:8.5in 11.0in; margin:135.35pt 1.5in 135.35pt 1.75in;}div.Section4 {page:Section4;}@page Section5 {size:8.5in 11.0in; margin:135.35pt 1.5in 135.35pt 1.75in;}div.Section5 {page:Section5;}@page Section6 {size:8.5in 11.0in; margin:135.35pt 1.5in 135.35pt 1.75in;}div.Section6 {page:Section6;}@page Section7 {size:8.5in 11.0in; margin:135.35pt 1.5in 1.6in 1.75in;}div.Section7 {page:Section7;}@page Section8 {size:8.5in 11.0in; margin:135.35pt 1.5in 1.6in 1.75in;}div.Section8 {page:Section8;}@page Section9 {size:8.5in 11.0in; margin:135.35pt 1.5in 1.6in 1.75in;}div.Section9 {page:Section9;}@page Section10 {size:8.5in 11.0in; margin:135.35pt 1.5in 1.6in 1.75in;}div.Section10 {page:Section10;}@page Section11 {size:8.5in 11.0in; margin:135.35pt 1.5in 1.6in 1.75in;}div.Section11 {page:Section11;}@page Section12 {size:8.5in 11.0in; margin:135.35pt 1.5in 1.6in 1.75in;}div.Section12 {page:Section12;}@page Section13 {size:8.5in 11.0in; margin:135.35pt 1.5in 1.6in 1.75in;}div.Section13 {page:Section13;}@page Section14 {size:8.5in 11.0in; margin:135.35pt 1.5in 1.6in 1.75in;}div.Section14 {page:Section14;}@page Section15 {size:8.5in 11.0in; margin:135.35pt 1.5in 1.6in 1.75in;}div.Section15 {page:Section15;}@page Section16 {size:8.5in 11.0in; margin:135.35pt 1.5in 1.6in 1.75in;}div.Section16 {page:Section16;}@page Section17 {size:8.5in 11.0in; margin:135.35pt 1.5in 1.6in 1.75in;}div.Section17 {page:Section17;}@page Section18 {size:8.5in 11.0in; margin:135.35pt 1.5in 1.6in 1.75in;}div.Section18 {page:Section18;}@page Section19 {size:8.5in 11.0in; margin:135.35pt 1.5in 1.6in 1.75in;}div.Section19 {page:Section19;}@page Section20 {size:8.5in 11.0in; margin:135.35pt 1.5in 1.6in 1.75in;}div.Section20 {page:Section20;}@page Section21 {size:8.5in 11.0in; margin:135.35pt 1.5in 1.6in 1.75in;}div.Section21 {page:Section21;}@page Section22 {size:8.5in 11.0in; margin:135.35pt 1.5in 1.6in 1.75in;}div.Section22 {page:Section22;}@page Section23 {size:8.5in 11.0in; margin:135.35pt 1.5in 1.6in 1.75in;}div.Section23 {page:Section23;}@page Section24 {size:8.5in 11.0in; margin:135.35pt 1.5in 1.6in 1.75in;}div.Section24 {page:Section24;}@page Section25 {size:8.5in 11.0in; margin:135.35pt 1.5in 1.6in 1.75in;}div.Section25 {page:Section25;}@page Section26 {size:8.5in 11.0in; margin:135.35pt 1.5in 1.6in 1.75in;}div.Section26 {page:Section26;}@page Section27 {size:8.5in 11.0in; margin:135.35pt 1.5in 1.6in 1.75in;}div.Section27 {page:Section27;}@page Section28 {size:8.5in 11.0in; margin:135.35pt 1.5in 1.6in 1.75in;}div.Section28 {page:Section28;} <font color=#7F7F7F>/* List Definitions */</font> ol {margin-bottom:0in;}ul {margin-bottom:0in;}--></style></head><body lang=EN-US link=red vlink=purple><center><b><span style='font-size:24pt;font-family:Verdana'>Thinking In C++</span><br><br><span style='font-size:14pt;font-family:Verdana'>Volume 2: Practical Programming</span><br><br><span style='font-size:10pt;font-family:Verdana'>Bruce Eckel, President, MindView, Inc.</span><br><span style='font-size:10pt;font-family:Verdana'>Chuck Allison, Utah Valley State College</span><br><br><br><span style='font-size:14pt;font-family:Verdana'><a href="http://mindview.net/Books/TICPP/ThinkingInCPP2e.html">Book Home Page</a></span><br><span style='font-size:14pt;font-family:Verdana'><a href="http://mindview.net/Books/TICPPV2/Solutions">Annotated Solution Guide</a></span><br><span style='font-size:14pt;font-family:Verdana'><a href="http://mindview.net:8080/TICPPV2/">Report Errors Here</a></span><br></b></center><br><br><h3 style='margin-left:.1in'><a href="#cover">Cover</a></h3><h4><a href="#_TocRef53985602">Introduction</a></h4><h3 style='margin-left:.1in'><a href="#_TocRef53985614">Part 1: Building Stable Systems</a></h3><h4><a href="#_TocRef53985615">1: Exception handling</a></h4><h4><a href="#_TocRef53985643">2: Defensive programming</a></h4><h3 style='margin-left:.1in'><a href="#_TocRef53985656">Part 2: The Standard C++ Library</a></h3><h4><a href="#_TocRef53985657">3: Strings in depth</a></h4><h4><a href="#_TocRef53985673">4: Iostreams</a></h4><h4><a href="#_TocRef53985706">5: Templates in depth</a></h4><h4><a href="#_TocRef53985741">6: Generic algorithms</a></h4><h4><a href="#_TocRef53985769">7: Generic containers</a></h4><h3 style='margin-left:.1in'><a href="#_TocRef53985807">Part 3: Special Topics</a></h3><h4><a href="#_TocRef53985808">8: Runtime type identification</a></h4><h4><a href="#_TocRef53985820">9: Multiple inheritance</a></h4><h4><a href="#_TocRef53985831">10: Design patterns</a></h4><h4><a href="#_TocRef53985862">11: Concurrency</a></h4><h3 style='margin-left:.1in'><a href="#_TocRef53985892">Appendix</a></h3><h4><a href="#_TocRef53985892">A: Recommended reading</a></h4><h4><a href="#_TocRef53985898">B: Etc</a></h4><h4><a href="#_TocRef53985899">Index</a></h4><br><br><div class=Section1><p class=MsoNormal>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -