"synopsis" may belong to another edition of this title.
The introduction to On To C++ follows. Additionalinformation about this book, along with access to software, is availablevia ascent/booksHow On To C++ Teaches You C++
The purpose of this book is to help you learn the essentials ofC++ programming. In this section, you learn why you shouldknow C++ and how this book is organized.
The C++ programming language is related toC. Because ++ is C's increment operator, and because thedevelopers of C++ viewed C++ as an incremental augmentation of C,rather than as a completely different language, they decided to use C and++ in C++'s name.
In the vernacular of programming, an object is a packet ofinformation stored in a chunk of computer memory. Every objectis associated with a data type, and the data type determines whatcan be done to an object. All programming languages havebuilt-in data types, such as the integer data type and thecharacter data type.
An object-oriented programming language encourages you todesign programs around data types and data-type hierarchies that youdefine yourself. Typically, you define data types and data-typehierarchies so that you can describe individual nails,horseshoes, horses, kingdoms, or whatever else happens to come upnaturally in your application.
In contrast, procedure-oriented programming languages encourage youto think in terms of procedures, instead of in terms of data types anddata-type hierarchies.
In this book, you learn more about what object-oriented means andwhy many programmers prefer object-oriented languages. For now, itsuffices to know that C++ is an object-oriented programming language,whereas most other programming languages are procedure-orientedprogramming languages.
C++ became a popular object-oriented programming language because its parentlanguage, C, was already popular. C, in turn, became popular by virtueof attractive characteristics, such as the following:C is easy to learn.C programs are fast.C programs are concise.C compilers -- programs that translate C programs intomachine instructions -- are usually fast and concise.C compilers and C programs run on all sorts of computers,from small personal computers to huge supercomputers.Unix, a popular operating system, happens to be written in C.There are two principal reasons to learn C++:The productivity of C++ programmersgenerally exceeds the productivity of C programmers. Hence, C++programmers are in demand.The supply of powerful off-the-shelf C++ software modules,both free and for sale, is increasing rapidly. The supply ofoff-the-shelf C modules, most of which you can incorporate intoC++ programs, is already huge.
Also, because C++ is the most widely used object-oriented programminglanguage, you often hear programmers debate the merits of otherobject-oriented languages in terms of advantages and disadvantages relative toC++.Four principles determined this introductory book's organization and style:
The book should get you up and running in the language quickly.The book should answer your basic questions explicitly.The book should encourage you to develop a personal library ofsolutions to standard programming problems.The book should deepen your understanding of the art of goodprogramming practice.
To get you up and running in C++ quickly, the sections in thisbook generally supply you with the most useful approach to eachprogramming need, be it to display characters on your screen, todefine a new function, or to read information from a file.
To answer your basic questions explicitly, this book is dividedinto parts that generally focus on one issue, which is plainlyannounced in the title of the section. Accordingly, you seetitles such as the following:How To Write Arithmetic ExpressionsHow To Define Simple FunctionsHow To Create Classes and ObjectsHow To Benefit from Data AbstractionHow To Design Class HierarchiesHow To Organize a Multiple-File Program
To encourage you to develop a personal library of solutions tostandard programming problems, this book introduces many useful,productivity-increasing, general-purpose, templatelikepatterns -- sometimes called cliches by experiencedprogrammers---that you can fill in to achieve particular-purposegoals.
Cliches are introduced because learning to program involves more thanlearning to use programming-language primitives, just as learning tospeak a human language involves more than learning to use vocabulary words.
To deepen your understanding of the art of good programmingpractice, this book emphasizes the value of such ideas as dataabstraction and procedure abstraction, along withprinciples such asthe explicit-representation principle,the no-duplication principle, the local-view principle,the look-up principle,the need-to-know principle,and the keep-it-simple principle.
In this book, single-idea segments, analogous to slides, are arranged insections that are analogous to slide shows. The segments come in severalvarieties: basic segments explain essential ideas; sidetripsegments introduce interesting, but skippable, ideas; practice segmentsprovide opportunities to experiment with new ideas; and highlightssegments summarize important points.
Finally, the book develops a simple, yet realistic C++ program, which yousee in many versions as your understanding of the language increases. Inits ultimate version, the program reads information from a file describinga railroad train, computes the load-bearing volume of each box car and tankcar using formulas drawn from descriptions of boxes and cylinders, anddisplays a car-by-car report. Programs similar to the one developed canhelp you to manage a railroad, either model or real.Highlights
C++ is an object-oriented programming language.Object-oriented programming languages emphasize user-defined datatypes and data-typehierarchies, rather than computations to perform.C++ descends from C, an already-popular programminglanguage; thus, heredity is the most conspicuous reason why C++ itselfenjoys considerable popularity.This book gets you up and running in C++ quickly; itanswers your basic questions explicitly; it equips you withprogram patterns that you can adapt to your own purposes; and itdeepens your understanding of the art of good programmingpractice. 0201580438P04062001
"About this title" may belong to another edition of this title.
Shipping:
FREE
Within U.S.A.
Book Description Soft cover. Condition: New. 2nd Edition. New perfect condition disinfected. Book. Seller Inventory # ABE-1664728559433
Book Description Paperback. Condition: new. New Copy. Customer Service Guaranteed. Seller Inventory # think0201580438
Book Description Condition: new. Seller Inventory # FrontCover0201580438
Book Description Paperback. Condition: new. New. Seller Inventory # Wizard0201580438
Book Description Paperback. Condition: new. Prompt service guaranteed. Seller Inventory # Clean0201580438
Book Description Soft cover. Condition: New. 2nd Edition. Sanitized. Book. Seller Inventory # ABE-1664577079402
Book Description Condition: New. Buy with confidence! Book is in new, never-used condition 1.11. Seller Inventory # bk0201580438xvz189zvxnew
Book Description Condition: New. New! This book is in the same immaculate condition as when it was published 1.11. Seller Inventory # 353-0201580438-new
Book Description Paperback. Condition: new. Buy for Great customer experience. Seller Inventory # GoldenDragon0201580438
Book Description Paperback. Condition: Brand New. 2nd ed edition. 305 pages. 9.25x7.50x0.75 inches. In Stock. Seller Inventory # 0201580438