Skip to main content

C++ All-in-One For Dummies, 3rd Edition

C++ All-in-One For Dummies, 3rd Edition

John Paul Mueller, Jeff Cogswell

ISBN: 978-1-118-82379-8

Jul 2014

864 pages

$25.99

Description

Get ahead of the C++ curve to stay in the game

C++ is the workhorse of programming languages and remains one of the most widely used programming languages today. It's cross-platform, multi-functional, and updates are typically open-source. The language itself is object-oriented, offering you the utmost control over data usage, interface, and resource allocation. If your job involves data, C++ proficiency makes you indispensable.

C++ All-in-One For Dummies, 3rd Edition is your number-one handbook to C++ mastery. Author John Paul Mueller is a recognized authority in the computer industry, and your ultimate guide to C++. Mueller takes you through all things C++, including information relevant to the 2014 update.

  • Learn how to work with objects and classes
  • Conquer advanced programming and troubleshooting
  • Discover how lambda expressions can make your code more concise and readable
  • See Standard Library features, such as dynamic arrays, in action

Online resources include source code from examples in the book as well as a C++ GNU compiler. If you need to learn C++, this is the fastest, most effective way to do it. C++ All-in-One For Dummies, 3rd Edition will get you up and running quickly, so you can get to work producing code faster and better than ever.

Introduction  1

Book I: Getting Started with C++  7

Chapter 1: Configuring Your System 9

Chapter 2: Creating Your First C++ Application 27

Chapter 3: Storing Data in C++ 47

Chapter 4: Directing the Application Flow 77

Chapter 5: Dividing Your Work with Functions 101

Chapter 6: Splitting Up Source Code Files 129

Chapter 7: Referring to Your Data Through Pointers 145

Chapter 8: Working with Classes 175

Chapter 9: Using Advanced C++ Features 211

Book II: Understanding Objects and Classes  247

Chapter 1: Planning and Building Objects 249

Chapter 2: Describing Your Program with UML 279

Chapter 3: Structuring Your Classes with UML 299

Chapter 4: Demonstrating Behavior with UML 313

Chapter 5: Modeling Your Applications with UML 331

Chapter 6: Building with Design Patterns 343

Book III: Fixing Problems  373

Chapter 1: Dealing with Bugs 375

Chapter 2: Debugging an Application 387

Chapter 3: Stopping and Inspecting Your Code 399

Chapter 4: Traveling About the Stack 411

Book IV: Advanced Programming  421

Chapter 1: Working with Arrays, Pointers, and References 423

Chapter 2: Creating Data Structures 455

Chapter 3: Constructors, Destructors, and Exceptions 477

Chapter 4: Advanced Class Usage 505

Chapter 5: Creating Classes with Templates 529

Chapter 6: Programming with the Standard Library 561

Chapter 7: Working with Lambda Expressions 599

Book V: Reading and Writing Files  615

Chapter 1: Filing Information with the Streams Library 617

Chapter 2: Writing with Output Streams 631

Chapter 3: Reading with Input Streams 645

Chapter 4: Building Directories and Contents 659

Chapter 5: Streaming Your Own Classes 669

Book VI: Advanced C++  681

Chapter 1: Exploring the Standard Library Further 683

Chapter 2: Working with User-Defi ned Literals (UDLs) 703

Chapter 3: Building Original Templates 717

Chapter 4: Investigating Boost 737

Chapter 5: Boosting up a Step 765

Appendix: Automating Your Applications with Makefiles  783

Index  795

Code example files for C++ All-in-One For Dummies, 3rd Edition
Download