Introduction to C++
Steve Heller(Author)
Morgan Kaufmann (Publisher)
Published on 12. May 1997
Book
Paperback/Softback
480 pages
978-0-12-339099-8 (ISBN)
Description
This textbook teaches students to program in C++, even if they have no prior knowledge of programming. Perfect for a first course in programming at any level, Heller explains the principles of programming, then illustrates each of them in the context of a realistic, simple, program.
More details
Language
English
Place of publication
San Francisco
United States
Publishing group
Elsevier Science & Technology
Target group
Professional and scholarly
Dimensions
Height: 235 mm
Width: 191 mm
Weight
930 gr
ISBN-13
978-0-12-339099-8 (9780123390998)
Copyright in bibliographic data is held by Nielsen Book Services Limited or its licensors: all rights reserved.
Schweitzer Classification
Person
Steve Heller has been a professional programmer for about 25 years, and is the President of Chrysalis Software Corporation, a consulting firm specializing in high-performance software, and practical, down-to-earth instructional materials. He is the author of two excellent books, Efficient C/C++ Programming and Who's Afraid of C++?.
Content
Introduction to Programming: What is a Program? How Do We Write a Program? Hardware Fundamentals: Disk. RAM. The CPU. Binary and Hexadecimal. Assembly Language in Brief. Basics of Programming: What a CompilerIs and How it Works. Some Fundamental Data Types. Simple Input and Output. Controlling the Flow of Execution. A Complete Sample Program to Find the Highest Weight. More Basics: Extending the Sample Program. Vectors. A Simple Sorting Algorithm. Evena Small Change to a Program Can Cause Difficulties. Functional Literacy: Why We Need Functions. An Example: Adding up the Elements of a Vector. How Arguments Work. Storage Classes: Automatic and Static. The Stack. Local and Global Scopes. TakingInventory: User Defined Date Types: Why and How. C++ is a Language Kit, Not a Finished Language. Constructors and Reference Arguments. An Example: Keeping Stock for a Small Store. Class Scope. Strings Attached: Pointers and Memory Allocation. Newand Delete. More Constructors. A Destructor. The Assignment Operator. More about References. Access Specifiers: Public and Private. Arrays vs. Vectors. More Strings: Sorting Strings. More Operators. The Subtleties of Comparison. Convenient I/O. Member Functions and Friends. Back to the Store: Dated Inventory. Inheritance vs. Copying. Overriding Inherited Functions. Arrays of Class Objects. Pretty Poly: The Limits of Inheritance with Objects. Polymorphism as a Solution. Polymorphism as aProblem. Flexibility with Less Risk: Polymorphic Objects. An Example: Mixing Dated and Undated Inventory Objects. Software Engineering and Reuse: Someone Else Will Have to Read and Modify Your Code. How to Reduce the Costs of Maintenance through Proper Design and Implementation. Software is an Art, and Always Will Be.