Book description
Learn to program with C++ quickly with this helpful For Dummies guide
Beginning Programming with C++ For Dummies, 2nd Edition gives you plain-English explanations of the fundamental principles of C++, arming you with the skills and know-how to expertly use one of the world's most popular programming languages. You'll explore what goes into creating a program, how to put the pieces together, learn how to deal with standard programming challenges, and much more.
Written by the bestselling author of C++ For Dummies, this updated guide explores the basic development concepts and techniques of C++ from a beginner's point of view, and helps make sense of the how and why of C++ programming from the ground up. Beginning with an introduction to how programming languages function, the book goes on to explore how to work with integer expressions and character expressions, keep errors out of your code, use loops and functions, divide your code into modules, and become a functional programmer.
Grasp C++ programming like a pro, even if you've never written a line of code
Master basic development concepts and techniques in C++
Get rid of bugs and write programs that work
Find all the code from the book and an updated C++ compiler on the companion website
If you're a student or first-time programmer looking to master this object-oriented programming language, Beginning Programming with C++ For Dummies, 2nd Edition has you covered.
Table of contents
-
- Introduction
- Part I: Getting Started with C++ Programming
- Part II: Writing a Program: Decisions, Decisions
- Part III: Becoming a Procedural Programmer
-
Part IV: Data Structures
- Chapter 14: Other Numerical Variable Types
- Chapter 15: Arrays
- Chapter 16: Arrays with Character
- Chapter 17: Pointing the Way to C++ Pointers
- Chapter 18: Taking a Second Look at C++ Pointers
- Chapter 19: Programming with Class
- Chapter 20: Debugging Your Programs, Part 3
-
Part V: Object-Oriented Programming
- Chapter 21: What Is Object-Oriented Programming?
- Chapter 22: Structured Play: Making Classes Do Things
- Chapter 23: Pointers to Objects
- Chapter 24: Do Not Disturb: Protected Members
- Chapter 25: Getting Objects Off to a Good Start
- Chapter 26: Making Constructive Arguments
- Chapter 27: Coping with the Copy Constructor
-
Part VI: Advanced Strokes
- Chapter 28: Inheriting a Class
- Chapter 29: Are Virtual Functions for Real?
- Chapter 30: Overloading Assignment Operators
- Chapter 31: Performing Streaming I/O
- Chapter 32: I Take Exception!
-
Part VII: The Part of Tens
-
Chapter 33: Ten Ways to Avoid Bugs
- Enable All Warnings and Error Messages
- Adopt a Clear and Consistent Coding Style
- Comment the Code While You Write It
- Single-Step Every Path in the Debugger at Least Once
- Limit the Visibility
- Keep Track of Heap Memory
- Zero Out Pointers after Deleting What They Point To
- Use Exceptions to Handle Errors
- Declare Destructors Virtual
- Provide a Copy Constructor and Overloaded Assignment Operator
- Chapter 34: Ten Features Not Covered in This Book
-
Chapter 33: Ten Ways to Avoid Bugs
- About the Author
- Cheat Sheet
Product information
- Title: Beginning Programming with C++ For Dummies, 2nd Edition
- Author(s):
- Release date: October 2014
- Publisher(s): For Dummies
- ISBN: 9781118823873
You might also like
book
Beginning C++ Game Programming - Second Edition
Get to grips with programming techniques and game development using C++ libraries and Visual Studio 2019 …
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++ For Dummies, 7th Edition
The best-selling C++ For Dummies book makes C++ easier! C++ For Dummies, 7th Edition is the …
book
Practical C++ Programming, 2nd Edition
C++ is a powerful, highly flexible, and adaptable programming language that allows software engineers to organize …