Applications Programming in C++

Applications Programming in C++

By: Richard Johnsonbaugh (author), Martin Kalin (author)Paperback

2 - 4 weeks availability


Intended for a one-term course in applications programming in C++; assumes no prior knowledge of C++, but does expect some programming experience in a high-level language.

Focusing on the most useful aspects of the popular C++ programming language as well as some of its more specialized parts, this state-of-the-art, well-organized text focuses on using C++ to write practical programs based on sound design techniques. It includes a detailed examination of STL (standard template library), numerous examples, exercises, sample applications, programming exercises, and lists of common programming errors.

Create a review


(NOTE: Most chapters conclude with a C++ Postscript, Common Programming Errors, and Programming Exercises.) 0. Computer Systems and Program Development. Algorithms. Computer Systems. Internal Representations. Programming Languages. Problem Solving and Program Development. Why C++? 1. Introduction to Data Types and Operators. A First C++ Program. The int Data Type. Identifiers. Sample Application: Conversion of Lengths. Other Integer Data Types. Floating-Point Data Types. Arithmetic Operators. Sample Application: A Math Puzzle. Relational and Logical Operators. 2. Control Flow. The tt if-tt else Statement. Sample Application: Computing Taxes. The while Statement. Sample Application: Computing Taxes Revisited. Files. The do while Statement. The for Statement. Assignment, Increment, and Decrement Operators. Sample Application: Statistical Measures. The break, continue, and switch Statements. Sample Application: Generating Prime Numbers. Promotions and Casts. Formatting. 3. Functions. Introduction. Scope. Call by Value. Sample Application: The Monty Hall Problem. Call by Reference. Sample Application: Printing a Calendar. Overloading Functions. Recursion. 4. Arrays. Why Arrays? The Index Operator. Arrays and Pointers. Sample Application: Totaling Votes. Character Strings. Arrays and Functions. String-Handling Functions. Sample Application: Merging Files. Multidimensional Arrays. Sample Application: Maintaining an Address Book. 5. Classes. Object-Oriented and Procedural Programming. Classes and Objects. Sample Application: A Clock Class. Sample Application: A Time Stamp Class. Constructors and the Destructor. Sample Application: A Task Class. Class Data Members and Methods. Using Class Libraries. Pointers to Objects and the Indirect Selection Operator. 6. Inheritance. Introduction. Basic Concepts and Syntax. Sample Application: Tracking Films. protected Members. Constructors and Destructors Under Inheritance. Sample Application: A Sequence Hierarchy. 7. Polymorphism. Run-Time versus Compile-Time Binding in C++. Sample Application: Tracking Films Revisited. Name Overloading, Name Overriding, and Name Hiding. Abstract Base Classes. 8. Operator Overloading. Basic Operator Overloading. Sample Application: A Complex Number Class. Operator Overloading Using Top-Level Functions. friend Functions. Overloading the Input and Output Operators. Overloading Some Special Operators. Sample Application: An Associative Array. 9. Storage. Compile-Time and Run-Time Storage. Storage Classes for Variables. Pointers and Dynamic Storage. Sample Application: Sorting and Searching. Classes with Pointers as Data Members. 10. Templates and the Standard Template Library. Template Basics. Sample Application: A Template Stack Class. Namespaces. The Standard Template Library. Sample Application: Stock Performance Reports. A. ASCII Table. B. The Preprocessor. C. Selected C++ Functions and Methods. D. Run-Time Type Identification. E. Exception Handling. Hints and Solutions to Odd-Numbered Exercises. Index.

Product Details

  • publication date: 15/10/1998
  • ISBN13: 9780137489633
  • Format: Paperback
  • Number Of Pages: 704
  • ID: 9780137489633
  • weight: 1111
  • ISBN10: 0137489633

Delivery Information

  • Saver Delivery: Yes
  • 1st Class Delivery: Yes
  • Courier Delivery: Yes
  • Store Delivery: Yes

Prices are for internet purchases only. Prices and availability in WHSmith Stores may vary significantly