Exploring C++: The Programmer's Introduction to C++ / Edition 1

Exploring C++: The Programmer's Introduction to C++ / Edition 1

by Ray Lischner
     
 

ISBN-10: 1590597494

ISBN-13: 9781590597491

Pub. Date: 12/18/2008

Publisher: Apress

Exploring C++ uses a series of self–directed lessons to divide C++ into bite–sized chunks that you can digest as rapidly as you can swallow them. The book assumes only a basic understanding of fundamental programming concepts (variables, functions, expressions, statements) and requires no prior knowledge of C or any other particular language. It

…  See more details below

Overview

Exploring C++ uses a series of self–directed lessons to divide C++ into bite–sized chunks that you can digest as rapidly as you can swallow them. The book assumes only a basic understanding of fundamental programming concepts (variables, functions, expressions, statements) and requires no prior knowledge of C or any other particular language. It reduces the usually considerable complexity of C++.

The included lessons allow you to learn by doing, as a participant of an interactive education session. You’ll master each step in one sitting before you proceed to the next. Author Ray Lischner has designed questions to promote learning new material. And by responding to questions throughout the text, you'll be engaged every step of the way.

Product Details

ISBN-13:
9781590597491
Publisher:
Apress
Publication date:
12/18/2008
Edition description:
2009
Pages:
725
Product dimensions:
7.06(w) x 9.20(h) x 1.38(d)

Table of Contents

Pt. 1 The Basics

Exploration 1 Honing Your Tools 3

Exploration 2 Reading C++ Code 13

Exploration 3 Integer Expressions 21

Exploration 4 Strings 27

Exploration 5 Simple Input 33

Exploration 6 Error Messages 39

Exploration 7 For Loops 45

Exploration 8 Formatted Output 49

Exploration 9 Arrays and Vectors 59

Exploration 10 Increment and Decrement 71

Exploration 11 Conditions and Logic 77

Exploration 12 Compound Statements 85

Exploration 13 Introduction to File I/O 95

Exploration 14 The Map Data Structure 99

Exploration 15 Type Synonyms 105

Exploration 16 Characters 109

Exploration 17 Character Categories 115

Exploration 18 Case-Folding 123

Exploration 19 Writing Functions 127

Exploration 20 Function Arguments 137

Exploration 21 Using Algorithms 145

Exploration 22 Overloading Function Names 157

Exploration 23 Big and Little Numbers 163

Exploration 24 Very Big and Very Little Numbers 173

Exploration 25 Documentation 181

Exploration 26 Project 1: Body-Mass Index 189

Pt. 2 Custom Types

Exploration 27 Custom Types 195

Exploration 28 Overloading Operators 203

Exploration 29 Custom I/O Operators 213

Exploration 30 Assignment and Initialization 219

Exploration 31 Writing Classes 227

Exploration 32 More About Member Functions 235

Exploration 33 Access Levels 247

Exploration 34 Introduction to Object-Oriented Programming 257

Exploration 35 Inheritance 265

Exploration 36 Virtual Functions 275

Exploration 37 Classes and Types 283

Exploration 38 Declarations and Definitions 293

Exploration 39 Using Multiple Source Files 305

Exploration 40 Function Objects 321

Exploration 41 Useful Algorithms 331

Exploration 42Iterators 345

Exploration 43 Exceptions 357

Exploration 44 More Operators 373

Exploration 45 Project 2: Fixed-Point Numbers 385

Pt. 3 Generic Programming

Exploration 46 Function Templates 393

Exploration 47 Class Templates 405

Exploration 48 Template Specialization 415

Exploration 49 Partial Specialization 423

Exploration 50 Names and Namespaces 429

Exploration 51 Containers 449

Exploration 52 International Characters 471

Exploration 53 Locales and Facets 481

Exploration 54 Text I/O 495

Exploration 55 Project 3: Currency Type 509

Pt. 4 Real Programming

Exploration 56 Pointers 513

Exploration 57 Dynamic Memory 527

Exploration 58 Exception-Safety 545

Exploration 59 Old-Fashioned Arrays 557

Exploration 60 Smart Pointers 567

Exploration 61 Working with Bits 581

Exploration 62 Enumerations 599

Exploration 63 Multiple Inheritance 615

Exploration 64 Traits and Policies 629

Exploration 65 Names and Templates 645

Exploration 66 Overloaded Functions 655

Exploration 67 Metaprogramming 669

Exploration 68 Project 4: Calculator 679

Index 681

Read More

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >