+612 9045 4394
 
CHECKOUT
C++ Demystified : A Self-teaching Guide : The Demystified Series - Jeff Kent

C++ Demystified : A Self-teaching Guide

The Demystified Series

By: Jeff Kent

Paperback

Published: 17th May 2004
Ships: 7 to 10 business days
7 to 10 business days
$40.75
if ordered within

Minimal technical jargon, step-by-step discussions, and quizzes at the end of each chapter make this an easy-to-understand guide to C++ programming. Quickly learn what a programming language is and the anatomy of C++, then jump right into creating your own programs with expert guidance. Discover functions, objects, compilers, linkers, and much more along the way. For the fast and easy way to understanding the fundamentals of C++, this is the resource you need.

Acknowledgments & Introductionp. xiii
How a C++ Program Worksp. 1
What Is a Computer Program?p. 2
What Is a Programming Language?p. 2
Anatomy of a C++ Programp. 3
Translating the Code for the Computerp. 7
Using an IDE to Create and Run the "Hello World!" Projectp. 9
Quizp. 20
Memory and Data Typesp. 21
Memoryp. 22
Data Typesp. 28
Project: Determining the Size of Data Typesp. 36
Quizp. 43
Variablesp. 45
Declaring Variablesp. 45
Assigning Values to Variablesp. 51
Quizp. 63
Arithmetic Operatorsp. 65
Arithmetic Operatorsp. 66
The Change Machine Projectp. 77
Quizp. 81
Making Decisions: if and switch Statementsp. 83
Relational Operatorsp. 84
Flowchartingp. 87
The if Statementp. 89
The if/else Statementp. 94
The if/else if/else Statementp. 98
The switch Statementp. 100
Quizp. 108
Nested if Statements and Logical Operatorsp. 109
Nested if Statementsp. 110
Logical Operatorsp. 115
Using the switch Statement with Logical Operatorsp. 122
Quizp. 124
The For Loopp. 125
Increment and Decrement Operatorsp. 126
The For Loopp. 130
Quizp. 142
While and Do While Loopsp. 143
The While Loopp. 144
The Do While Loopp. 154
Quizp. 159
Functionsp. 161
Defining and Calling a Functionp. 162
Variable Scope and Lifetimep. 167
Sending Information to a Functionp. 173
Returning a Value from a Functionp. 182
Quizp. 185
Arraysp. 187
Declaring an Arrayp. 188
Initializationp. 194
Assigning and Displaying Array Valuesp. 199
Passing Arrays as Function Argumentsp. 208
Quizp. 211
What's the Address? Pointersp. 213
Declaring a Pointerp. 214
Assigning a Value to a Pointerp. 216
Indirection Operator and Dereferencingp. 219
The Pointer as a Variable or a Constantp. 220
Pointer Arithmeticp. 222
Pointers as Function Argumentsp. 228
Dynamic Memory Allocationp. 233
Returning Pointers from Functionsp. 236
Quizp. 241
Character, C-String, and C++ String Class Functionsp. 243
Reading a Characterp. 244
Useful Character Functionsp. 256
Useful C-String and C++ String Functionsp. 259
Quizp. 268
Persistent Data: File Input and Outputp. 269
Text vs. Binary Filesp. 270
The fstream Standard Libraryp. 271
The File Access Life Cyclep. 272
Opening a Filep. 272
Closing a Filep. 280
Writing to a Filep. 280
Reading from a Filep. 282
File Stream Objects as Function Argumentsp. 287
Quizp. 291
The Road Ahead: Structures and Classesp. 293
Your Reasons for Reading This Book?p. 294
Object-Oriented Programmingp. 294
Structuresp. 296
Classesp. 309
Quizp. 316
Final Examp. 317
Answers to Quizzes and Final Examp. 323
Indexp. 339
Table of Contents provided by Ingram. All Rights Reserved.

ISBN: 9780072253702
ISBN-10: 0072253703
Series: Demystified
Audience: General
Format: Paperback
Language: English
Number Of Pages: 368
Published: 17th May 2004
Publisher: McGraw-Hill Education - Europe
Country of Publication: US
Dimensions (cm): 23.5 x 19.0  x 2.0
Weight (kg): 0.62
Edition Number: 1