Book description
The best-selling C++ For Dummies book makes C++ easier!
C++ For Dummies, 7th Edition is the best-selling C++ guide on the market, fully revised for the 2014 update. With over 60% new content, this updated guide reflects the new standards, and includes a new Big Data focus that highlights the use of C++ among popular Big Data software solutions. The book provides step-by-step instruction from the ground up, helping beginners become programmers and allowing intermediate programmers to sharpen their skills. The companion website provides all code mentioned in the text, an updated GNU_C++, the new C++ compiler, and other applications. By the end of the first chapter, you will have programmed your first C++ application!
As one of the most commonly used programming languages, C++ is a must-have skill for programmers who wish to remain versatile and marketable. C++ For Dummies, 7th Edition provides clear, concise, expert instruction, which is organized for easy navigation and designed for hands-on learning. Whether you're new to programming, familiar with other languages, or just getting up to speed on the new libraries, features, and generics, this guide provides the information you need.
Provides you with an introduction to C++ programming
Helps you become a functional programmer
Features information on classes, inheritance, and optional features
Teaches you 10 ways to avoid adding bugs
The book incorporates the newest C++ features into the fundamental instruction, allowing beginners to learn the update as they learn the language. Staying current on the latest developments is a crucial part of being a programmer, and C++ For Dummies, 7th Edition gets you started off on the right foot.
Table of contents
-
- Introduction
-
Part I: Getting Started with C++ Programming
- Chapter 1: Writing Your First C++ Program
- Chapter 2: Declaring Variables Constantly
- Chapter 3: Performing Mathematical Operations
- Chapter 4: Performing Logical Operations
- Chapter 5: Controlling Program Flow
-
Part II: Becoming a Functional C++Programmer
- Chapter 6: Creating Functions
- Chapter 7: Storing Sequences in Arrays
- Chapter 8: Taking a First Look at C++ Pointers
- Chapter 9: Taking a Second Look at C++ Pointers
- Chapter 10: The C++ Preprocessor
-
Part III: Introduction to Classes
- Chapter 11: Examining Object-Oriented Programming
-
Chapter 12: Adding Class to C++
- Introducing the Class
- The Format of a Class
- Accessing the Members of a Class
- Activating Our Objects
- Adding a Member Function
- Calling a Member Function
- Scope Resolution (And I Don’t Mean How Well Your Telescope Works)
- Defining a Member Function in the Class
- Keeping a Member Function after Class
- Overloading Member Functions
- Chapter 13: Point and Stare at Objects
- Chapter 14: Protecting Members: Do Not Disturb
- Chapter 15: “Why Do You Build Me Up, Just toTear Me Down, Baby?”
- Chapter 16: Making Constructive Arguments
- Chapter 17: The Copy/Move Constructor
- Chapter 18: Static Members: Can Fabric Softener Help?
- Part IV: Inheritance
-
Part V: Security
- Chapter 22: A New Assignment Operator, Should You Decide to Accept It
- Chapter 23: Using Stream I/O
- Chapter 24: Handling Errors — Exceptions
- Chapter 25: Inheriting Multiple Inheritance
- Chapter 26: Tempting C++ Templates
- Chapter 27: Standardizing on the Standard Template Library
- Chapter 28: Writing Hacker-Proof Code
-
Part VI: The Part of Tens
-
Chapter 29: Ten Ways to Avoid Adding Bugs to Your Program
- Enable All Warnings and Error Messages
- Adopt a Clear and Consistent Coding Style
- Limit the Visibility
- Comment Your Code While You Write It
- Single-Step Every Path at Least Once
- Avoid Overloading Operators
- Manage the Heap Systematically
- Use Exceptions to Handle Errors
- Declare Destructors Virtual
- Avoid Multiple Inheritance
-
Chapter 30: Ten Ways to Protect Your Programs from Hackers
- Don't Make Assumptions about User Input
- Handle Failures Gracefully
- Maintain a Program Log
- Follow a Good Development Process
- Implement Good Version Control
- Authenticate Users Securely
- Manage Remote Sessions
- Obfuscate Your Code
- Sign Your Code With a Digital Certificate
- Use Secure Encryption Wherever Necessary
-
Chapter 29: Ten Ways to Avoid Adding Bugs to Your Program
- About the Author
- Cheat Sheet
- More Dummies Products
Product information
- Title: C++ For Dummies, 7th Edition
- Author(s):
- Release date: June 2014
- Publisher(s): For Dummies
- ISBN: 9781118823774
You might also like
book
C++ All-in-One For Dummies, 4th Edition
Get ready for C++20 with all you need to know for complete mastery! Your comprehensive and …
book
C++ All-in-One For Dummies, 3rd Edition
Get ahead of the C++ curve to stay in the game C++ is the workhorse of …
book
C Programming For Dummies, 2nd Edition
Get an A grade in C As with any major language, mastery of C can take …
book
Professional C++, 4th Edition
Get up to date quickly on the new changes coming with C++17 Professional C++ is the …