Practical C++ ProgrammingC++ is a powerful, highly flexible, and adaptable programming language that allows software engineers to organize and process information quickly and effectively. But this high-level language is relatively difficult to master, even if you already know the C programming language. The 2nd edition of Practical C++ Programming is a complete introduction to the C++ language for programmers who are learning C++. Reflecting the latest changes to the C++ standard, this 2nd edition takes a useful down-to-earth approach, placing a strong emphasis on how to design clean, elegant code. In short, to-the-point chapters, all aspects of programming are covered including style, software engineering, programming design, object-oriented design, and debugging. It also covers common mistakes and how to find (and avoid) them. End of chapter exercises help you ensure you've mastered the material. Practical C++ Programming thoroughly covers:
|
Contents
What Is C++? | 3 |
The Basics of Program Writing | 7 |
Style | 23 |
Basic Declarations and Expressions | 35 |
Arrays Qualifiers and Reading Numbers | 48 |
Decision and Control Statements | 76 |
The Programming Process | 87 |
Part II | 105 |
Floating Point | 337 |
Advanced Pointers | 347 |
Advanced Classes | 371 |
Part V | 391 |
Exceptions | 393 |
Modular Programming | 401 |
Templates | 419 |
Standard Template Library | 432 |
More Control Statements | 107 |
Variable Scope and Functions | 118 |
The C++ Preprocessor | 145 |
Bit Operations | 160 |
Part III | 177 |
Advanced Types | 179 |
Simple Classes | 191 |
More on Classes | 211 |
Simple Pointers | 221 |
Part IV | 243 |
File InputOutput | 245 |
Debugging and Optimization | 277 |
Operator Overloading | 310 |
Program Design | 448 |
Putting It All Together | 469 |
From C to C++ | 497 |
C++s Dustier Corners | 504 |
Programming Adages | 510 |
Part VI | 515 |
ASCII Table | 517 |
Ranges | 519 |
Operator Precedence Rules | 521 |
Computing Sine Using a Power Series | 523 |
Resources | 529 |
| 531 | |

