Introduction to C++
- 1st Edition - May 12, 1997
- Latest edition
- Author: Steve Heller
- Language: English
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… Read more
Purchase options
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.
@introbul:Key Features
@bul:* Assumes no prior programming knowledge--a unique feature among C++ books
* Great choice for a first course in programming with C++; suitable for one-quarter, one-semester, or self-study courses
* Uses training wheels approach
* Includes coverage of standard topics in object-technology, including inheritance, polymorphism, and reuse--all within a practical framework
* Contains numerous examples and exercises
* Includes a CD-ROM with C++ compiler and examples from the book
@bul:* Assumes no prior programming knowledge--a unique feature among C++ books
* Great choice for a first course in programming with C++; suitable for one-quarter, one-semester, or self-study courses
* Uses training wheels approach
* Includes coverage of standard topics in object-technology, including inheritance, polymorphism, and reuse--all within a practical framework
* Contains numerous examples and exercises
* Includes a CD-ROM with C++ compiler and examples from the book
Beginning programmers with no prior knowledge of programming; anyone who wants to learn to program in C++.
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.
- Edition: 1
- Latest edition
- Published: May 12, 1997
- Language: English
SH
Steve Heller
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++?.
Affiliations and expertise
President, Chrysalis Software Corp.