C++ All-In-One Desk Reference For DummiesHere’s the easy way to learn how to use C++ C++, developed by Bjarne Stroustrup at Bell Labs, is one of the most widely used programming languages, with close to four million C++ programmers and growing. C++’s popularity has earned it a spot as part of the Standard Library. Fully updated for the new C++ 2009 standard, C++ All-in-One for Dummies, 2nd Edition compiles seven books into one. This guidebook covers key topics like an introduction to C++, understanding objects and classes, fixing problems, advanced programming, reading and writing files, advanced C++, and building applications with Microsoft MFC. If you're a C++ newbie, start with Book I. But if you’re experienced with C++, simply jump in anywhere to learn more! This all-in-one reference helps you learn to:
With over 25,000 sold of the previous bestselling edition, this second edition with a bonus CD makes C++ easier to understand. It’s a perfect introduction for new programmers and guide for advanced programmers. Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file. |
Contents
Introduction | 1 |
Introducing C++ | 7 |
Storing Data in C++ | 29 |
Directing Your C++ Program Flow | 59 |
Dividing Your Work with Functions | 83 |
Dividing Between SourceCode Files | 109 |
Referring to Your Data through Pointers | 123 |
Working with Classes | 151 |
Advanced Class Usage | 477 |
Creating Classes with Templates | 503 |
Programming with the Standard Library | 535 |
Reading and Writing Files | 567 |
Writing with Output Streams | 583 |
Reading with Input Streams | 597 |
Building Directories and Contents | 609 |
Streaming Your Own Classes | 619 |
Using Advanced C++ Features | 187 |
Understanding Objects and Classes | 223 |
Describing Your Program with UML | 255 |
Structuring Your Classes with UML | 275 |
Demonstrating Behavior with UML | 287 |
Modeling Your Programs with UML | 305 |
Building with Design Patterns | 317 |
Fixing Problems | 347 |
Fixing Problems 347 Chapter 1 Dealing with Bugs | 349 |
Debugging a Program | 361 |
Stopping and Inspecting Your Code | 373 |
Traveling About the Stack | 385 |
Advanced Programming | 395 |
Creating Data Structures | 427 |
Constructors Destructors and Exceptions | 449 |
Advanced C++ | 631 |
Exploring the Standard Library Further | 633 |
Building Original Templates | 651 |
Investigating Boost | 671 |
Boosting up a Step | 697 |
Building Applications with Microsoft MFC | 713 |
Creating an MFC Dialog Box Project | 731 |
Creating an MFC SDI Project | 747 |
Using the Visual C++ 2008 Debugger | 769 |
Analyzing Your Visual C++ 2008 Code | 779 |
Automating Your | 785 |
About the CD | 797 |
801 | |