Beginning Programming with C++ For Dummies

Beginning Programming with C++ For Dummies

3.81 (38 ratings by Goodreads)
By (author) 

Free delivery worldwide

Available. Dispatched from the UK in 2 business days
When will my order arrive?


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.
show more

Product details

  • Paperback | 456 pages
  • 189 x 233 x 27mm | 636g
  • New York, United States
  • English
  • 2nd Edition
  • 1118823877
  • 9781118823873
  • 49,336

Back cover copy

Learn to:

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++ Work with the Code:: Blocks C++ compiler, available online

Programming made easy with the definitive guide to the popular C++ language

Want to get started with programming but don't know quite where to begin? This complete guide to learning C++ programming will help you start your journey! Learn to walk the programming walk while figuring out how to use C++, install and use the compiler, work with loops, grasp objects and classes, and write real programs that work.

Let's get started -- get a complete grasp of what computers need to work, what algorithms are, and how programming languages function Get functional -- find out how to write simple expressions, declare integer variables, and make decisions within a program Exterminate -- get the bugs out of your programs with an in-depth look at debugging, unit tests, and using predefined preprocessor commands Take it one step further -- explore more advanced topics on your own, with tips on where to start and how to find more information

Open the book and find:

How programming languages work How to master basic development concepts in C++ Tips for getting rid of bugs in your code How to work with integer and character expressions The essential parts of control and looping structures How to use constructors and destructors How to build data structures that mimic the real world Advanced language features to ramp up your code

Visit the companion website at for code from the book and an updated C++ compiler.
show more

Table of contents

Introduction 1 Part I: Getting Started with C++ Programming 7 Chapter 1: What Is a Program? 9 Chapter 2: Installing Code::Blocks 21 Chapter 3: Writing Your First Program 41 Part II: Writing a Program: Decisions, Decisions 55 Chapter 4: Integer Expressions 57 Chapter 5: Character Expressions 69 Chapter 6: if I Could Make My Own Decisions 79 Chapter 7: Switching Paths 93 Chapter 8: Debugging Your Programs, Part I 101 Part III: Becoming a Procedural Programmer 109 Chapter 9: while Running in Circles 111 Chapter 10: Looping for the Fun of It 121 Chapter 11: Functions, I Declare! 129 Chapter 12: Dividing Programs into Modules 141 Chapter 13: Debugging Your Programs, Part 2 151 Part IV: Data Structures 163 Chapter 14: Other Numerical Variable Types 165 Chapter 15: Arrays 181 Chapter 16: Arrays with Character 189 Chapter 17: Pointing the Way to C++ Pointers 203 Chapter 18: Taking a Second Look at C++ Pointers 221 Chapter 19: Programming with Class 241 Chapter 20: Debugging Your Programs, Part 3 253 Part V: Object-Oriented Programming 269 Chapter 21: What Is Object-Oriented Programming? 271 Chapter 22: Structured Play: Making Classes Do Things 277 Chapter 23: Pointers to Objects 287 Chapter 24: Do Not Disturb: Protected Members 299 Chapter 25: Getting Objects Off to a Good Start 307 Chapter 26: Making Constructive Arguments 321 Chapter 27: Coping with the Copy Constructor 341 Part VI: Advanced Strokes 351 Chapter 28: Inheriting a Class 353 Chapter 29: Are Virtual Functions for Real? 361 Chapter 30: Overloading Assignment Operators 373 Chapter 31: Performing Streaming I/O 381 Chapter 32: I Take Exception! 405 Part VII: The Part of Tens 415 Chapter 33: Ten Ways to Avoid Bugs 417 Chapter 34: Ten Features Not Covered in This Book 423 Index 429
show more

About Stephen R. Davis

Stephen R. Davis is the bestselling author of numerous books and articles, including C++ For Dummies. He has been programming for over 35 years and currently works for Agency Consulting Group in the area of Cyber Defense.
show more

Rating details

38 ratings
3.81 out of 5 stars
5 32% (12)
4 37% (14)
3 18% (7)
2 8% (3)
1 5% (2)
Book ratings by Goodreads
Goodreads is the world's largest site for readers with over 50 million reviews. We're featuring millions of their reader ratings on our book pages to help you find your new favourite book. Close X