Synopses & Reviews
Here's programming made easy (and fun!) with this guide to the popular C++ language
So you're dreaming of the exciting life of a programmer? You can make it happen with this book! Even if you barely know what programming is, you can learn to "speak" the C++ language, install and use the compiler, work with loops, understand objects and classes, get rid of bugs, and write real programs that work. It's all in these pages!
How the thing thinks — understand what a computer needs to work, what an algorithm is, and how programming languages function
Tools of the trade — install Code::Blocks, use the integrated development environment, and write your first program
Express yourself — learn to write simple expressions, declare integer variables, and make decisions within a program
Love loops — use loops and functions, divide your code into modules, eliminate bugs, and master the C++ pointer
Think objectively — grasp object-oriented programming concepts and work with classes and objects
Open the book and find:
What a programming language must do
How to work with integer expressions and character expressions
Tips for keeping errors out of your code
Four essential parts of a loop
Different numerical variable types
Why C++ pointers are important
How to use constructors and destructors
Advanced language features you'll want to know
Think like a programmer and understand how C++ works
Create programs and get bugs out of your code
Master basic development concepts and techniques in C++
Find source code from the book and the Code::Blocks C++ compiler on the companion CD-ROM
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.
About the Author
Stephen R. Davis is a programmer and the bestselling author of several books on the C languages, including C# For Dummies, C++ Weekend Crash Course, and all editions of C++ For Dummies. He currently works for L-3 Communications in the area of Homeland Defense.
Table of Contents
Part I: Let's Get Started.
Chapter 1: What Is a Program?
Chapter 2: Installing Code::Blocks.
Chapter 3: Writing Your First Program.
Part II: Writing a Program: Decisions, Decisions.
Chapter 4: Integer Expressions.
Chapter 5: Character Expressions.
Chapter 6: if I Could Make My Own Decisions.
Chapter 7: Switching Paths.
Chapter 8: Debugging Your Programs, Part 1.
Part III: Becoming a Functional Programmer.
Chapter 9: while Running in Circles.
Chapter 10: Looping for the Fun of It.
Chapter 11: Functions, I Declare!
Chapter 12: Dividing Programs into Modules.
Chapter 13: Debugging Your Programs, Part 2.
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.
Chapter 34: Ten Features Not Covered in This Book.
Appendix: About the CD.