Problem Solving with C++
Home > Computing and Information Technology > Computer programming / software engineering > Programming and scripting languages: general > Problem Solving with C++: The Object of Programming, Visual C++ 6.0 Edition
Problem Solving with C++: The Object of Programming, Visual C++ 6.0 Edition

Problem Solving with C++: The Object of Programming, Visual C++ 6.0 Edition


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

Walter Savitch's Problem Solving with C++, Fourth Edition is available with Savitch's Visual C++ 6.0 Companion, providing everything needed to learn to write and run C++ programs in the Visual C++ environment. Problem Solving with C++ teaches programming technique and the C++ language, while the Visual C++ 6.0 Companion discusses Visual C++—C++ language enhanced by Microsoft with an editor, a compiler, and a debugger—which is designed to accommodate and take full advantage of the Windows operating system. A CD-ROM featuring the Visual C++ language is also included. Problem Solving with C++, 4e itself is a revision of one of the leading books for courses introducing programming in C++. The text explains C++ and basic programming techniques in a way suitable for beginning students. This book adapts to the syllabus created by the instructor rather than making you adapt to the book. The order in which the chapters and sections are covered can easily be changed without loss of continuity in reading the text. The main text and the supplement feature Professor Savitch's friendly, motivational writing style and helpful learning aids that have made his books so popular among students and instructors alike.

Table of Contents:
(Each Chapter concludes with “Chapter Summary,” “Answers to Self-Test Exercises,” and “Programming Projects.”)VISUAL C++ 6.0 COMPANION CONTENTS. Introduction To The Windows Operating System. Getting Started With The Visual C++ Environment. The Debugger. Multifile Projects. Windowing Interfaces. Programs That Must Be Modified To Work With Visual C++. What To Do When Things Go Wrong. PROBLEM SOLVING WITH C++, 4E CONTENTS. 1. Introduction to Computers and C++ Programming. Computer Systems. Hardware. Software. High-Level Languages. Compilers. History Note. Programming and Problem Solving. Algorithms. Program Design. Object-Oriented Programming. The Software Life Cycle. Introduction to C++. Origins of the C++ Language. A Sample C++ Program. Compiling and Running a C++ Program. Testing and Debugging. Kinds of Program Errors. 2. C++ Basics. Variables and Assignments. Variables. Names: Identifiers. Variable Declarations. Assignment Statements. Uninitialized Variables. Input and Output. Output Using cout. Include Directives and Namespaces. Escape Sequences. Formatting for Numbers with a Decimal Point. Input Using cin. Designing Input and Output. Data Types and Expressions. The Types int and double. Other Number Types. The Type char. The Type bool. Type Compatibilities. Arithmetic Operators and Expressions. More Assignment Statements. Simple Flow of Control. A Simple Branching Mechanism. Compound Statements. Simple Loop Mechanisms. Increment and Decrement Operators. Program Style. Indenting. Comments. Naming Constants. 3. Functions that Return a Value. Top-Down Design. Predefined Functions. Using Predefined Functions. Type Casting. Older Form of Type Casting. Programmer-Defined Functions. Function Definitions. Alternate Form for Function Declarations. Function Definition-Syntax Summary. More About Placement of Function Definitions. Procedural Abstraction. The Black Box Analogy. Local Variables. The Small Program Analogy. Global Constants and Global Variables. Call-by-Value Formal Parameters Are Local Variables. Namespaces Revisited. Overloading Function Names. Introduction to Overloading. Automatic Type Conversion. 4. Functions for All Subtasks. void-Functions. Definitions of void-Functions. Call-by-Reference Parameters. A First View of Call-by-Reference. Call-by-Reference in Detail. Mixed Parameter Lists. Using Procedural Abstraction. Functions Calling Functions. Preconditions and Postconditions. 5. I/O Streams as an Introduction to Objects and Classes. Streams and Basic File I/O. Why Use Files for I/O? File I/O. Introduction to Classes and Objects. Techniques for File I/O. File Names as Input (Optional). Tools for Stream I/O. Formatting Output with Stream Functions. Manipulators. Streams as Arguments to Functions. A Note on Namespaces. Character I/O. The Member Functions get and put. The putback Member Function (Optional). The eof Member Function. Predefined Character Functions. Inheritance. Inheritance Among Stream Classes. Default Arguments for Functions (Optional). 6. Defining Classes. Structures. Structures for Diverse Data. Structures as Function Arguments. Initializing Structures. Classes. Defining Classes and Member Functions. Public and Private Members. Summary of Some Properties of Classes. Constructors for Initialization. Abstract Data Types. Classes to Produce ADTs. 7. More Flow of Control. Using Boolean Expressions. Evaluating Boolean Expressions. Functions That Return a Boolean Value. Enumeration Types (Optional). Multiway Branches. Nested Statements. Multiway if-else-Statements. The switch-Statement. Using switch-Statements for Menus. Blocks. More About C++ Loop Statements. The while-Statements Reviewed. Increment and Decrement Operators Revisited. The for-Statement. What Kind of Loop to Use. The break-Statement. Designing Loops. Loops for Sums and Products. Ending a Loop. Nested Loops. Debugging Loops. 8. Friends and Overload Operators. Friend Function. Friend Functions. Implementation of digit_to_int (Optional). Overloading Operators. Overloading Operators. Constructors for Automatic Type Conversion. Overloading Unary Operators. Overloading >> and <<. 9. Separate Compilation and Namespaces. Separate Compilation. ADTs Reviewed. Defining Other Libraries. Namespaces. Namespaces and Using Directives. Creating a Namespace. Qualifying Names. A Subtle Point about Namespaces (Optional). Unnamed Namespaces. 10. Arrays. Introduction to Arrays. Declaring and Referencing Arrays. Arrays in memory. Initializing Arrays. Arrays in Functions. Indexed Variables as Function Arguments. Entire Arrays as Function Arguments. The const Parameter Modifier. Functions that Return an Array. Programming with Arrays. Partially Filled Arrays. Arrays and Classes. Arrays of Classes. Arrays as Class Members. Multidimensional Arrays. Multidimensional Array Basics. Multidimensional Array Parameters. 11. Strings and Vectors. An Array Type for Strings. C-string Values and C-string Variables. Other Functions in . C-String Input and Output. C-String-to-Number Conversions and Robust Input. The Standard string Class. Introduction to the Standard Class String. I/O with the Class String. String Processing with the Class String. Converting Between String Objects and C-Strings. Vectors. Vector Basics. Efficiency Issues. 12. Pointers and Dynamic Arrays. Pointers. Pointer Variables. Basic Memory Management. Static Variables and Automatic Variables. Dynamic Arrays. Array Variables and Pointer Variables. Creating and Using Dynamic Arrays. Pointer Arithmetic (Optional). Multidimensional Dynamic Arrays (Optional). Classes and Dynamic Arrays. Destructors. Copy Constructors. Overloading the Assignment Operator. Programming Projects. 13. Recursion. Recursive Functions for Tasks. A Closer Look at Recursion. Stacks for Recursion. Recursion versus Iteration. Recursive Functions for Values. General Form for a Recursive Function that Returns a Value. Thinking Recursively. Recursive Design Techniques. 14. Templates. Templates of Algorithm Abstraction. Templates for Functions. Templates for Data Abstraction. Syntax for Class Templates. 15. Pointers and Linked Lists. Nodes and Linked Lists. Nodes. Linked Lists. Inserting a Node at the Head of a List. Searching a Linked List. Pointers as Iterators. Inserting and Removing Nodes Inside a List. A Linked List Application. Stacks. 16. Inheritance. Inheritance Basics. Derived Classes. Constructors in Derived Classes. Private Member Functions are Effectively Not Inherited. The Protected Qualifier. Redefinition of Member Functions. Redefining versus Overloading. Access to a Redefined Base Function. Inheritance Details. Functions that are not Inherited. Assignment Operator and Copy Constructor in a Derived Class. Destructors in Derived Classes. Polymorphism. Late Binding. Virtual Functions in C++. Virtual Functions and Extended Type Compatibility. 17. Exception Handling. Exception Handling Basics. A Toy Example of Exception Handling. Defining Your Own Exception Classes. Multiple Throws and Catches. Throwing an Exception in a Function. Programming Techniques for Exception Handling. When to Throw an Exception. Exception Class Hierarchies. Testing for Available Memory. Rethrowing an Exception. Appendix 1. C++ Keywords. Appendix 2. Precedence of Operators. Appendix 3. ASCII Character Set. Appendix 4. Some Library Functions. Appendix 5. The Assert Statement. Appendix 6. Inline Functions. Appendix 7. Overloading the Array Index Square Brackets. Appendix 8. The This Pointer. Appendix 9. Overloading Operators as Member Operators.


Best Sellers


Product Details
  • ISBN-13: 9780321136640
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Pearson
  • Language: English
  • Sub Title: The Object of Programming, Visual C++ 6.0 Edition
  • ISBN-10: 0321136640
  • Publisher Date: 11 Aug 2003
  • Binding: Paperback
  • No of Pages: 900
  • Weight: 1000 gr


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Problem Solving with C++: The Object of Programming, Visual C++ 6.0 Edition
Pearson Education (US) -
Problem Solving with C++: The Object of Programming, Visual C++ 6.0 Edition
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Problem Solving with C++: The Object of Programming, Visual C++ 6.0 Edition

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!