This authoritative, comprehensive guide is your bible to Standard C++. Written for people at all levels of technological know-how, it may be used as a reference book or a tutorial. You'll appreciate the step-by-step instructions and clear explanations enhanced by icons, charts, and hundreds of screenshots. The tips, insights, and shortcuts that appear in each chapter will help you to
- Master C++ fundamentals, from data types to control statements.
- Create and work with C++ classes.
- Deploy encapsulation, polymorphism, and other object-oriented techniques.
- Streamline development with classes in the Standard C++ library.
- Make the most of STL classes for sequences, generic algorithms, and more.
- Get a leg up on advanced topics, such as namespaces, RTTI, and localization.
- Capitalize on type casting and other benefits of the ANSI/ISO standard.
A bonus CD-ROM contains a programmer's editor, the GCC compiler, an interactive source level debugger, and all source code from the book.
No matter where you are in your career, you'll find programming tools and techniques not published anywhere else. You'll see why the entire Bible series carries such an outstanding reputation when the Standard C++ Bible goes the distance for you.
About the Author
About the Author Al Stevens has written the "C Programming" column in Dr. Dobb's Journal, the number one programmer's magazine, since 1988. He is the author of more than a dozen best-selling titles for MIS PRESS, including, Teach Yourself C++ 5th Edition and Teach Yourself Microsoft Windows 98. Al lectures nationally to programmers, educators, and systems managers on technical issues related to programming and software design. A professional programmer since 1958, and an independent programming consultant and writer since 1978, Al maintains a loyal following of readers who appreciate his insight and clear writing style. Clayton Walnum started programming computers in 1982 when he traded in an IBM Selectric typewriter to buy an Atari 400 computer (16K of RAM!). Clay soon learned to combine his interest in writing with his newly acquired programming skills, and started selling programs and articles to computer magazines. In 1985, Analog Computing a nationally distributed computer magazine hired him as a technical editor. Before leaving the magazine business in 1989 to become a freelance writer, Clay had worked his way up to Executive Editor. He since has acquired a degree in Computer Science, and has worked on more than 40 books (translated into many languages) covering everything from computer gaming to 3-D graphics programming. He also has written hundreds of magazine articles and software reviews, as well as countless programs. His recent books include Windows 98 Programming Secrets, C++ Master Reference, and The Complete Idiot's Guide to Visual Basic 6. Clay's biggest disappointment in life is that he wasn't one of the Beatles. To compensate, he writes and records rock music in his home studio. You can reach Clay by sending e-mail to email@example.com or by visiting his Web site at www.claytonwalnum.com. And don't forget to visit Clay's music page at www.mp3.com/claywalnum.
Table of Contents
PART I: The C++ Language.
Chapter 1: An Introduction to Programming in C++.
Chapter 2: Writing Simple C++ Programs.
Chapter 3: Functions.
Chapter 4: Program Flow Control.
Chapter 5: More about C++ Data.
Chapter 6: Pointers, Addresses, and Reference Variables.
Chapter 7: Library Functions.
Chapter 8: The Preprocessor.
Chapter 9: Structures and Classes.
Chapter 10: Function Templates.
PART II: Working with Classes.
Chapter 11: C++ Classes.
Chapter 12: Overloaded Operators.
Chapter 13: Class Inheritance.
Chapter 14: Multiple Inheritance.
Chapter 15: Class Templates.
Chapter 16: Object-Oriented Programming.
PART III: The Standard C++ Library.
Chapter 17: Introduction to the Standard C++ Library.
Chapter 18: Formatting iostreams and the stringstream Classes.
Chapter 19: File I/O Streams.
PART IV: The Standard Template Library (STL).
Chapter 20: Introduction to STL.
Chapter 21: Sequences.
Chapter 22: Associative Containers.
Chapter 23: Generic Algorithms.
Chapter 24: Iterators.
Chapter 25: Exception Handling.
PART V: Advanced C++ Topics.
Chapter 26: Namespaces.
Chapter 27: New-Style Casts and RTTI.
Chapter 28: Locales.
Appendix A: About the CD-ROM.
Appendix B: Language Elements: Keywords and Precedence.
End-User License Agreement.
GNU General Public License.
CD-ROM Installation Instructions.