Store: Practical C++ Programming

by Steve Oualline


Read now


ISBN: 9781449367169

Published: Dec 13

Publisher: O'Reilly Media


Practical C++ Programming 2 >
A Note Regarding Supplemental Files 4 >
Preface 5 >
Scope of This Handbook 5 >
How This Book Is Organized 6 >
How to Read This Book If You Already Know C 9 >
Font Conventions 10 >
How to Contact Us 11 >
Acknowledgments for the First Edition 12 >
Acknowledgments for the Second Edition 12 >
I. The Basics 13 >
1. What Is C++? 14 >
2. The Basics of Program Writing 19 >
3. Style 31 >
4. Basic Declarations and Expressions 46 >
5. Arrays, Qualifiers, and Reading Numbers 63 >
6. Decision and Control Statements 102 >
7. The Programming Process 116 >
II. Simple Programming 136 >
8. More Control Statements 137 >
9. Variable Scope and Functions 150 >
10. The C++ Preprocessor 185 >
11. Bit Operations 205 >
III. Advanced Types and Classes 224 >
12. Advanced Types 225 >
13. Simple Classes 242 >
14. More on Classes 266 >
15. Simple Pointers 278 >
IV. Advanced Programming Concepts 303 >
16. File Input/Output 304 >
17. Debugging and Optimization 347 >
18. Operator Overloading 384 >
19. Floating Point 412 >
20. Advanced Pointers 425 >
21. Advanced Classes 451 >
V. Other Language Features 473 >
22. Exceptions 474 >
23. Modular Programming 481 >
24. Templates 499 >
25. Standard Template Library 515 >
26. Program Design 532 >
27. Putting It All Together 559 >
28. From C to C++ 579 >
29. C++’s Dustier Corners 589 >
30. Programming Adages 596 >
VI. Appendixes 601 >
A. ASCII Table 602 >
B. Ranges 603 >
C. Operator Precedence Rules 604 >
D. Computing Sine Using a Power Series 605 >
E. Resources 608 >
Index 610 >
About the Author 709 >
Colophon 710 >
Copyright 712 >