C++ Demystified (Demystified Series)
Publisher's Note: Products purchased from Third Party sellers are not guaranteed by the publisher for quality, authenticity, or access to any online entitlements included with the product.


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.
1122975987
C++ Demystified (Demystified Series)
Publisher's Note: Products purchased from Third Party sellers are not guaranteed by the publisher for quality, authenticity, or access to any online entitlements included with the product.


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.
33.0 In Stock
C++ Demystified (Demystified Series)

C++ Demystified (Demystified Series)

C++ Demystified (Demystified Series)

C++ Demystified (Demystified Series)

Paperback

$33.00 
  • SHIP THIS ITEM
    In stock. Ships in 1-2 days.
  • PICK UP IN STORE

    Your local store may have stock of this item.

Related collections and offers


Overview

Publisher's Note: Products purchased from Third Party sellers are not guaranteed by the publisher for quality, authenticity, or access to any online entitlements included with the product.


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.

Product Details

ISBN-13: 9780072253702
Publisher: McGraw Hill LLC
Publication date: 04/26/2004
Series: Demystified
Pages: 368
Product dimensions: 7.30(w) x 9.00(h) x 0.72(d)

About the Author

Jeff Kent (Los Angeles) is a college instructor specializing in programming languages including Visual Basic, C++, and Java.

Table of Contents

Acknowledgments & Introductionxiii
Chapter 1How a C++ Program Works1
What Is a Computer Program?2
What Is a Programming Language?2
Anatomy of a C++ Program3
Translating the Code for the Computer7
Using an IDE to Create and Run the "Hello World!" Project9
Quiz20
Chapter 2Memory and Data Types21
Memory22
Data Types28
Project: Determining the Size of Data Types36
Quiz43
Chapter 3Variables45
Declaring Variables45
Assigning Values to Variables51
Quiz63
Chapter 4Arithmetic Operators65
Arithmetic Operators66
The Change Machine Project77
Quiz81
Chapter 5Making Decisions: if and switch Statements83
Relational Operators84
Flowcharting87
The if Statement89
The if/else Statement94
The if/else if/else Statement98
The switch Statement100
Quiz108
Chapter 6Nested if Statements and Logical Operators109
Nested if Statements110
Logical Operators115
Using the switch Statement with Logical Operators122
Quiz124
Chapter 7The For Loop125
Increment and Decrement Operators126
The For Loop130
Quiz142
Chapter 8While and Do While Loops143
The While Loop144
The Do While Loop154
Quiz159
Chapter 9Functions161
Defining and Calling a Function162
Variable Scope and Lifetime167
Sending Information to a Function173
Returning a Value from a Function182
Quiz185
Chapter 10Arrays187
Declaring an Array188
Initialization194
Assigning and Displaying Array Values199
Passing Arrays as Function Arguments208
Quiz211
Chapter 11What's the Address? Pointers213
Declaring a Pointer214
Assigning a Value to a Pointer216
Indirection Operator and Dereferencing219
The Pointer as a Variable or a Constant220
Pointer Arithmetic222
Pointers as Function Arguments228
Dynamic Memory Allocation233
Returning Pointers from Functions236
Quiz241
Chapter 12Character, C-String, and C++ String Class Functions243
Reading a Character244
Useful Character Functions256
Useful C-String and C++ String Functions259
Quiz268
Chapter 13Persistent Data: File Input and Output269
Text vs. Binary Files270
The fstream Standard Library271
The File Access Life Cycle272
Opening a File272
Closing a File280
Writing to a File280
Reading from a File282
File Stream Objects as Function Arguments287
Quiz291
Chapter 14The Road Ahead: Structures and Classes293
Your Reasons for Reading This Book?294
Object-Oriented Programming294
Structures296
Classes309
Quiz316
Final Exam317
Answers to Quizzes and Final Exam323
Index339
From the B&N Reads Blog

Customer Reviews