Thinking in C++ 英文版 - C語言C++程式 - 程式設計 - 頂客論壇 ,免費遊戲,免費交友,免費空間,免費部落格,免費相簿,免費開店 - 頂客社區 dk101.com 最用心的華人社群網站
發新話題

[分享] Thinking in C++ 英文版

Thinking in C++ 英文版

Thinking in C++, Volume 1, 2nd Edition

【檔案類型】: pdf
【語言】: 英文版
【檔案大小】: 7.72 Mb
【上傳空間】: Hotfile
【書本簡介】:前三章
Preface 1
What’s new in
the second edition .... 2
What’s in Volume 2
of this book......................... 3
How to get Volume 2............ 3
Prerequisites ............ 4
Learning C++ .......... 4
Goals ...................... 6
Chapters.................. 7
Exercises ............... 13
Exercise solutions ...............13
Source code........... 13
Language
standards .............. 15
Language support ...............16
The book’s
CD ROM ................ 16
CD ROMs, seminars,
and consulting........ 17
Errors.................... 17
About the cover ...... 18
Book design and
production ............. 19
Acknowledgements . 20
Chapter 1: Introduction to Objects 23
The progress of abstraction .............25
An object has an interface.................27
The hidden implementation .......30
Reusing the implementation .......32
Inheritance: reusing the interface ...........34
Is-a vs. is-like-a relationships ......................38
Interchangeable objects with polymorphism.........40
Creating and destroying objects ...45
Exception handling:
dealing with errors...46
Analysis and design..............48
Phase 0: Make a plan..........51
Phase 1: What are we making? .......................52
Phase 2: How will we build it? ........................56
Phase 3: Build the core .......61
Phase 4: Iterate the use cases.....................62
Phase 5: Evolution ..............63
Plans pay off ......................65
Extreme
programming ......... 66
Write tests first...................66
Pair programming ...............68
Why C++ succeeds ............... 70
A better C ..........................71
You’re already on the learning curve...............71
Efficiency ...........................71
Systems are easier to express and understand.......72
Maximal leverage with libraries ......................73
Source-code reuse with templates....................73
Error handling ....................73
Programming in the large.....74
Strategies for transition............... 74
Guidelines..........................75
Management obstacles ........77
Summary .............. 79
Chapter 2: Making & Using Objects 83
The process of language translation ............. 84
Interpreters .......................85
Compilers ..........................86
The compilation process.......87
Tools for separate
compilation ............ 89
Declarations vs. definitions...90
Linking ..............................96
Using libraries ....................97
Your first
C++ program......... 99
Using the iostreams class.....99
Namespaces.....................100
Fundamentals of
program structure.............102
"Hello, world!" ..................103
Running the compiler ........105
More about iostreams .............105
Character array concatenation .................. 106
Reading input................... 107
Calling other programs...... 107
Introducing strings .................108
Reading and
writing files...........110
Introducing vector ..................112
Summary .............118
Exercises..............119
Chapter 3: The C in C++ 121
Creating functions ..............122
Function return values....... 125
Using the C function library................. 126
Creating your own libraries with the librarian.. 127
Controlling execution .............128
True and false .................. 128
if-else ............................. 128
while............................... 130
do-while .......................... 131
for .................................. 131
The break and continue keywords............ 132
switch ............................. 134
Using and misusing goto.... 136
Recursion ........................ 137
Introduction to operators .............138
Precedence ...................... 138
Auto increment and decrement ................. 139
Introduction to data types ............140
Basic built-in types ........... 140
bool, true, & false............. 142
Specifiers ........................ 143
Introduction to pointers..... 145

鹹淡超人@頂客論壇分享,電子書連結 ↓:
訪客無法瀏覽此圖片或連結,請先 註冊登入會員

[ 本帖最後由 鹹淡超人 於 2010-4-7 19:51 編輯 ]

TOP

發新話題

本站所有圖文均屬網友發表,僅代表作者的觀點與本站無關,如有侵權請通知版主會盡快刪除。