did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9780321356567

C++ Programming Visual QuickStart Guide

by ;
  • ISBN13:

    9780321356567

  • ISBN10:

    032135656X

  • Edition: 1st
  • Format: Paperback
  • Copyright: 2005-12-16
  • Publisher: Peachpit Press
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $20.39
  • Digital
    $31.04
    Add to Cart

    DURATION
    PRICE

Supplemental Materials

What is included with this book?

Summary

Easy, task - based guide takes the pain out of programming with C++!

Author Biography

Larry Ullman is the director of digital media technology at DMC Insights, an IT consulting firm, as well as the author of numerous best-selling books on PHP, MySQL, and C (including several other Visual QuickStart Guides). Andreas Signer is the CEO of AdNovum Software, a California company that develops secure e-banking and e-government solutions.

Table of Contents

Introductionp. ix
What Is C++?p. x
How C++ Worksp. xi
What You'll Needp. xii
About This Bookp. xiii
Getting Helpp. xv
Creating a Basic Programp. 1
Basic C++ Syntaxp. 2
Compiling a C++ Programp. 6
Printing Textp. 10
Running a Compiled Programp. 14
Pausing Executionp. 16
Understanding White Spacep. 18
Adding Comments to Your Source Codep. 20
Using an IDEp. 23
Simple Variables and Data Typesp. 29
Declaring Variablesp. 30
Assigning Values to Variablesp. 36
Printing Variablesp. 38
Formatting Numbersp. 41
Understanding Type Conversionp. 44
Introduction to Charactersp. 48
Introduction to Stringsp. 51
Introduction to Constantsp. 54
Operators and Control Structuresp. 57
Arithmetic Operatorsp. 58
If Conditionalsp. 64
Using else and else ifp. 68
The Ternary Operatorp. 72
Logical and Comparison Operatorsp. 76
Switch Conditionalsp. 82
Increment and Decrement Operatorsp. 88
While Loopp. 92
For Loopp. 96
Input, Output, and Filesp. 99
Taking Character Inputp. 100
Discarding Inputp. 105
Taking Numeric Inputp. 108
Taking String Inputp. 111
Taking Multiple Inputsp. 114
Reading In a Whole Linep. 118
Validating Inputp. 121
Creating File Outputp. 127
Using File Inputp. 132
Defining Your Own Functionsp. 137
Creating Simple Functionsp. 138
Creating Functions That Take Argumentsp. 143
Setting Default Argument Valuesp. 149
Creating Functions That Return a Valuep. 154
Overloading Functionsp. 160
Understanding Variable Scopep. 164
Complex Data Typesp. 169
Working with Arraysp. 170
Working with Pointersp. 176
Structuresp. 194
Revisiting User-Defined Functionsp. 199
Introducing Objectsp. 207
Creating a Simple Classp. 208
Adding Methods to a Classp. 212
Creating and Using Objectsp. 217
Defining Constructorsp. 221
Defining Destructorsp. 226
The this Pointerp. 232
Class Inheritancep. 237
Basic Inheritancep. 238
Inheriting Constructors and Destructorsp. 244
Access Controlp. 249
Overriding Methodsp. 254
Overloading Methodsp. 258
Making Friendsp. 261
Advanced OOPp. 267
Static Attributes and Methodsp. 268
Virtual Methodsp. 275
Abstract Methodsp. 283
Operator Overloadingp. 288
The [double less-than sign] Operatorp. 296
Multiple Inheritancep. 301
Virtual Inheritancep. 308
Error Handling and Debuggingp. 313
Debugging Techniquesp. 314
Returning Error Codesp. 320
Using assert()p. 326
Catching Exceptionsp. 332
Dynamic Memory Managementp. 339
Static and Dynamic Memoryp. 340
Allocating Objectsp. 344
Allocating Arrays of Dynamic Sizep. 349
Returning Memory from a Function or Methodp. 354
The Copy Constructor and the Assignment Operatorp. 359
Static Object Type Castsp. 368
Performing Dynamic Object Type Castsp. 372
Avoiding Memory Leaksp. 376
Namespaces & Modularizationp. 379
Working with Included Filesp. 380
The C Preprocessorp. 394
Understanding Namespacesp. 398
Linkage and Scopep. 406
Working with Templatesp. 415
Basic Template Syntaxp. 416
Creating Inline Templatesp. 428
Containers and Algorithmsp. 432
Extended Topicsp. 443
Strings Revisitedp. 444
Working with Binary Filesp. 458
Taking Command-Line Argumentsp. 473
C++ Toolsp. 479
Dev-C++ for Windowsp. 480
Xcode on Mac OS Xp. 485
Unix Toolsp. 486
Debugging with GDBp. 487
Resourcesp. 489
Web Sitesp. 490
Tablesp. 492
Indexp. 495
Table of Contents provided by Ingram. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program