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.
Key Features
@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
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.
ISBN:
9780123390998
Page Count: 480
Retail Price (USD)
:
Alger: SECRETS OF THE C++ MASTERS (APP)
Ege: OBJECT-ORIENTED PROGRAMMING WITH C++ (APP)
Weiskamp: THE COMPETE C++ PRIMER, SECOND EDITION (APP)
Ege: OBJECT-ORIENTED PROGRAMMING WITH C++ (APP)
Weiskamp: THE COMPETE C++ PRIMER, SECOND EDITION (APP)
Beginning programmers with no prior knowledge of programming; anyone who wants to learn to program in C++.
Related Titles