Book description
An ideal starting point to get a strong grasp of the fundamentals of C++
C++ is an object-oriented programming language commonly adopted by would-be programmers. This book explores the basic development concepts and techniques of C++ and explains the "how" and "why" of C++ programming from the ground up.
You'll discover what goes into creating a program, as well as how to put the various pieces together, deal with standard programming challenges, handle debugging, and make it all work.
Details the basics of C++ programming and explores the "how" and "why" of this object-oriented language
Addresses the various components that go into creating a program with C++
Walks you through common challenges of C++ programming
Assuming no prior experience, Beginning Programming with C++ For Dummies is a fun and friendly guide to learning the C++ language.
Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.
Table of contents
- Copyright
- About the Author
- Author's Acknowledgments
- Publisher's Acknowledgments
- Introduction
- I. Let's Get Started
- II. Writing a Program: Decisions, Decisions
-
III. Becoming a Functional Programmer
- 9. while Running in Circles
- 10. Looping for the Fun of It
- 11. Functions, I Declare!
- 12. Dividing Programs into Modules
- 13. Debugging Your Programs, Part 2
-
IV. Data Structures
- 14. Other Numerical Variable Types
- 15. Arrays
- 16. Arrays with Character
- 17. Pointing the Way to C++ Pointers
- 18. Taking a Second Look at C++ Pointers
- 19. Programming with Class
- 20. Debugging Your Programs, Part 3
-
V. Object-Oriented Programming
- 21. What Is Object-Oriented Programming?
- 22. Structured Play: Making Classes Do Things
- 23. Pointers to Objects
- 24. Do Not Disturb: Protected Members
- 25. Getting Objects Off to a Good Start
- 26. Making Constructive Arguments
- 27. Coping with the Copy Constructor
-
VI. Advanced Strokes
- 28. Inheriting a Class
- 29. Are Virtual Functions for Real?
- 30. Overloading Assignment Operators
- 31. Performing Streaming I/O
- 32. I Take Exception!
-
VII. The Part of Tens
-
33. Ten Ways to Avoid Bugs
- 33.1. Enable All Warnings and Error Messages
- 33.2. Adopt a Clear and Consistent Coding Style
- 33.3. Comment the Code While You Write It
- 33.4. Single-Step Every Path in the Debugger at Least Once
- 33.5. Limit the Visibility
- 33.6. Keep Track of Heap Memory
- 33.7. Zero Out Pointers after Deleting What They Point To
- 33.8. Use Exceptions to Handle Errors
- 33.9. Declare Destructors Virtual
- 33.10. Provide a Copy Constructor and Overloaded Assignment Operator
- 34. Ten Features Not Covered in This Book
- A. About the CD
-
33. Ten Ways to Avoid Bugs
Product information
- Title: Beginning Programming with C++ For Dummies®
- Author(s):
- Release date: August 2010
- Publisher(s): For Dummies
- ISBN: 9780470617977
You might also like
video
Intermediate C++ Programming
In this Intermediate C++ Programming training course, expert author Simon Bailey takes you beyond the basics …
book
C++ for Lazy Programmers: Quick, Easy, and Fun C++ for Beginners
Learn C++ the quick, easy, and “lazy” way. This book is an introductory programming text that …
book
Beginning Java 9 Fundamentals: Arrays, Objects, Modules, JShell, and Regular Expressions
Learn the basics of Java 9, including basic programming concepts and the object-oriented fundamentals necessary at …
book
Programming Interactivity, 2nd Edition
Ready to create rich interactive experiences with your artwork, designs, or prototypes? This is the ideal …