C++ For DummiesThe 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.
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. |
Contents
Introduction | 1 |
Getting Started with C++ Programming | 9 |
Creating Your First C++ Program | 19 |
Calculating Expressions | 30 |
Declaring Variables Constantly | 33 |
Solving the truncation problem | 36 |
Performing Mathematical Operations | 47 |
Performing Logical Operations | 53 |
Creating Shallow Copies versus Deep Copies Its a Long Way to Temporaries | 256 |
Static Members Can Fabric Softener Help? | 261 |
167 | 271 |
Inheriting a Class | 273 |
Examining Virtual Member Functions Are They for Real? | 281 |
Factoring Classes | 291 |
Security | 304 |
A New Assignment Operator Should You Decide to Accept It 303 Chapter 23 Using Stream IO | 315 |
Controlling Program Flow | 69 |
7 | 79 |
Becoming a Functional C++ Programmer | 89 |
Becoming a Functional C++ Programmer | 90 |
Overloading Function Names | 98 |
Variable Storage Types | 104 |
Creating Functions Chapter 7 Storing Sequences in Arrays Chapter 8 Taking a First Look at C++ Pointers | 121 |
Taking a Second Look at C++ Pointers | 135 |
Declaring and Using Arrays of Pointers | 145 |
The C++ Preprocessor | 153 |
Okay how about not defining | 160 |
Intrinsically Defined Objects Typedef | 166 |
Introduction to Classes | 169 |
Adding Class to C++ | 175 |
Point and Stare at Objects | 191 |
Windows 11 | 199 |
Linking Up with Linked Lists Performing other operations on a linked list | 203 |
Protecting Members Do Not Disturb | 207 |
Making an Argument for Using Protected Members | 210 |
Why Do You Build Me Up Just to Tear Me Down Baby? | 215 |
Why you need the destructor | 221 |
Making Constructive Arguments | 225 |
Defaulting Default Constructors Constructing Class Members Constructing a complex data member | 233 |
Global objects construct in no particular order | 242 |
The CopyMove Constructor | 249 |
The Automatic Copy Constructor | 250 |
89 | 333 |
Handling Errors Exceptions | 337 |
Inheriting Multiple Inheritance | 347 |
Inheriting Multiple Inheritance Chapter 26 Tempting C++ Templates | 359 |
Standardizing on the Standard Template Library | 369 |
Making your way through a list | 376 |
Writing HackerProof Code | 381 |
Examining an example SQL injection | 383 |
29 | 395 |
The Part of Tens | 407 |
The Part of Tens | 410 |
Ten Ways to Protect Your Programs from Hackers | 417 |
431 | |
432 | |
433 | |
434 | |
437 | |
438 | |
440 | |
443 | |
444 | |
445 | |
446 | |
448 | |
450 | |