My previous book, You Can Do It!, was written for the complete newcomer to programming. I made no assumptions about the reader’s prior knowledge and skills other than that they were capable of using a M$ Windows–based machine at the general level of accessing the Internet. It should not matter to such people what language is used for their practical experience of programming. I chose C++ because I felt certain that it was well up to the task, as long as I used a carefully chosen subset and augmented the Standard Library with a library of my own design that would support writing programs that newcomers would find interesting. The priority of that book was learning sound programming.
This book is intended for a very different readership: you should already be comfortable with the basics of programming. Exactly how you have acquired those basics will result in different expectations and problems with learning C++. One of the delights of C++ is its ability to handlethe programming paradigms of most of the principal language groups. If your first language is Lisp and you are fluent in expressing problems in that language, then C++ is going to cause you a lot of mental readjustment, but most other languages will provide a good basis for moving to C++, as long as you have an open mind about how the solutionsto problems shouldbe expressed in source code.
I do not intend to provide comprehensive coverage of the whole of C++: it is far too big a language to do that. I am not going to attempt to show you all the ways in which C++ can be used: C++ is far too rich a language to attempt that in a single book. Indeed, I doubt that any single author knows enough to provide adequate coverage of all the ways C++ can be used.
TABLE OF CONTENT:
Overview of C++
Chapter 01 - Getting Started
Chapter 02 - Fundamental Types, Operators, and Simple Variables
Chapter 03 - Looping and Making Decisions
Chapter 04 - Namespaces and the C++ Standard Library
Chapter 05 - Writing Functions in C++
Chapter 06 - Behavior, Sequence Points, and Order of Evaluation
Chapter 07 - Generic Functions
Chapter 08 - User-Defined Types, Part1: typedef and enum
Chapter 09 - User-Defined Types, Part2: Simple classes (value types)
Chapter 10 - User-Defined Types, Part3: Simple classes (homogeneous entity types)
Chapter 11 - Pointers, Smart Pointers, Iterators, and Dynamic Instances
Chapter 12 - User-Defined Types, Part4: Class hierarchies, polymorphism, inheritance, and subtypes
Chapter 13 - Dynamic Object Creation and Polymorphic Objects
Chapter 14 - Streams, Files, and Persistence
Chapter 15 - Exceptions
Chapter 16 - Overloading Operators and Conversion Operators
Chapter 17 - Containers, Iterators, and Algorithms
Chapter 18 - Something Old, Something New
Password:ganelon
No comments:
Post a Comment