Beginning Programming With C++ for Dummies

by
Edition: 2nd
Format: Paperback
Pub. Date: 2014-10-27
Publisher(s): For Dummies
  • eCampus.com Device Compatibility Matrix

    Click the device icon to install or view instructions

    Apple iOS | iPad, iPhone, iPod
    Apple iOS | iPad, iPhone, iPod
    Android Devices | Android Tables & Phones OS 2.2 or higher | *Kindle Fire
    Android Devices | Android Tables & Phones OS 2.2 or higher | *Kindle Fire
    Windows 10 / 8 / 7 / Vista / XP
    Windows 10 / 8 / 7 / Vista / XP
    Mac OS X | **iMac / Macbook
    Mac OS X | **iMac / Macbook
    Enjoy offline reading with these devices
    Apple Devices
    Android Devices
    Windows Devices
    Mac Devices
    iPad, iPhone, iPod
    Our reader is compatible
     
     
     
    Android 2.2 +
     
    Our reader is compatible
     
     
    Kindle Fire
     
    Our reader is compatible
     
     
    Windows
    10 / 8 / 7 / Vista / XP
     
     
    Our reader is compatible
     
    Mac
     
     
     
    Our reader is compatible
List Price: $34.99

Buy New

Usually Ships in 2-3 Business Days
$34.64

Rent Book

Select for Price
There was a problem. Please try again later.

Rent Digital

Rent Digital Options
Online:1825 Days access
Downloadable:Lifetime Access
$25.20
*To support the delivery of the digital material to you, a digital delivery fee of $3.99 will be charged on each digital item.
$25.20*

Used Book

We're Sorry
Sold Out

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Summary

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.

Author Biography

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.

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

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.