C++ For Dummies

C++ For Dummies

3.58 (174 ratings by Goodreads)
By (author) 

Free delivery worldwide

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


The best-selling C++ For Dummies book makes C++ easier! C++ For Dummies, 7th Edition is the best-selling C++ guide on the market, fully revised for the 2014 update. With over 60% new content, this updated guide reflects the new standards, and includes a new Big Data focus that highlights the use of C++ among popular Big Data software solutions. The book provides step-by-step instruction from the ground up, helping beginners become programmers and allowing intermediate programmers to sharpen their skills. The companion website provides all code mentioned in the text, an updated GNU-C++, the new C++ compiler, and other applications. By the end of the first chapter, you will have programmed your first C++ application! As one of the most commonly used programming languages, C++ is a must-have skill for programmers who wish to remain versatile and marketable. C++ For Dummies, 7th Edition provides clear, concise, expert instruction, which is organized for easy navigation and designed for hands-on learning.
Whether you're new to programming, familiar with other languages, or just getting up to speed on the new libraries, features, and generics, this guide provides the information you need. * Provides you with an introduction to C++ programming * Helps you become a functional programmer * Features information on classes, inheritance, and optional features * Teaches you 10 ways to avoid adding bugs The book incorporates the newest C++ features into the fundamental instruction, allowing beginners to learn the update as they learn the language. Staying current on the latest developments is a crucial part of being a programmer, and C++ For Dummies, 7th Edition gets you started off on the right foot.
show more

Product details

  • Paperback | 480 pages
  • 188 x 233 x 24mm | 654g
  • New York, United States
  • English
  • 7th Edition
  • black & white illustrations, black & white tables, figures
  • 111882377X
  • 9781118823774
  • 180,038

Back cover copy

Learn to:

Program in C++ from the ground up Write your first program in C++ Work with master classes and inheritance Sail through streaming I/O

The bestselling guide that shows you how to master C++ from the ground up

Whether you're a beginner or intermediate programmer looking to fine-tune your skills, C++ For Dummies gives you clear instructions and guidance on becoming a functional C++ programmer. Updated to reflect the latest changes for C++ 2014, this hands-on guide shows you how to make sense of classes, inheritance, and advanced strokes--and much more.

C++ Programming 101 -- find out what it means to write a computer program, learn to speak the C++ language, and start crunching C++ commands Put the "fun" in functional programming -- build upon your newly-gained knowledge to bundle sections of C++ code into modules, and then reuse those modules in programs The plot thickens -- get the scoop on object-oriented programming and grasp classes, constructors, destructors, and much more Fly first class -- understand why inheritance is the key to effective C++ programming, and become a first-rate object-oriented programmer Become a master programmer -- take your skills to the next level and master features like file input/output, error-handling, constructs, and templates

Open the book and find:

How to create your first program in Code:: Blocks Mathematical and logical operations An introduction to pointers What you need to know about object-oriented programming How to use the copy constructor Ways to handle errors and keep your program from being hacked A companion website that features all the code from the book
show more

Table of contents

Introduction 1 Part I: Getting Started with C++ Programming 7 Chapter 1: Writing Your First C++ Program 9 Chapter 2: Declaring Variables Constantly 33 Chapter 3: Performing Mathematical Operations 47 Chapter 4: Performing Logical Operations 53 Chapter 5: Controlling Program Flow 69 Part II: Becoming a Functional C++ Programmer 87 Chapter 6: Creating Functions 89 Chapter 7: Storing Sequences in Arrays 105 Chapter 8: Taking a First Look at C++ Pointers 121 Chapter 9: Taking a Second Look at C++ Pointers 135 Chapter 10: The C++ Preprocessor 153 Part III: Introduction to Classes 167 Chapter 11: Examining Object-Oriented Programming 169 Chapter 12: Adding Class to C++ 175 Chapter 13: Point and Stare at Objects 191 Chapter 14: Protecting Members: Do Not Disturb 207 Chapter 15: Why Do You Build Me Up, Just to Tear Me Down, Baby? 215 Chapter 16: Making Constructive Arguments 225 Chapter 17: The Copy/Move Constructor 247 Chapter 18: Static Members: Can Fabric Softener Help? 261 Part IV: Inheritance 271 Chapter 19: Inheriting a Class 273 Chapter 20: Examining Virtual Member Functions: Are They for Real? 281 Chapter 21: Factoring Classes 291 Part V: Security 301 Chapter 22: A New Assignment Operator, Should You Decide to Accept It 303 Chapter 23: Using Stream I/O 315 Chapter 24: Handling Errors Exceptions 337 Chapter 25: Inheriting Multiple Inheritance 347 Chapter 26: Tempting C++ Templates 359 Chapter 27: Standardizing on the Standard Template Library 369 Chapter 28: Writing Hacker-Proof Code 381 Part VI: The Part of Tens 407 Chapter 29: Ten Ways to Avoid Adding Bugs to Your Program 409 Chapter 30: Ten Ways to Protect Your Programs from Hackers 417 Index 431
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 30 years and currently works for Booz Allen Hamilton in the area of Homeland Defense.
show more

Rating details

174 ratings
3.58 out of 5 stars
5 28% (48)
4 25% (44)
3 30% (52)
2 12% (21)
1 5% (9)
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