Starting out with C++. From control structures through objects / ([2019])
- Record Type:
- Book
- Title:
- Starting out with C++. From control structures through objects / ([2019])
- Main Title:
- Starting out with C++.
- Other Titles:
- From control structures through objects
Starting out with C plus plus - Further Information:
- Note: Tony Gaddis.
- Authors:
- Gaddis, Tony
- Contents:
- Cover; Inside Front Cover; Title Page; Copyright Page; Contents at a Glance; Contents; Preface; CHAPTER 1 Introduction to Computers and Programming; 1.1 Why Program?; 1.2 Computer Systems: Hardware and Software; 1.3 Programs and Programming Languages; 1.4 What Is a Program Made of?; 1.5 Input, Processing, and Output; 1.6 The Programming Process; 1.7 Procedural and Object-Oriented Programming; Review Questions and Exercises; CHAPTER 2 Introduction to C++; 2.1 The Parts of a C++ Program; 2.2 The cout Object; 2.3 The #include Directive; 2.4 Variables, Literals, and Assignment Statements. 2.5 Identifiers2.6 Integer Data Types; 2.7 The char Data Type; 2.8 The C++ string Class; 2.9 Floating-Point Data Types; 2.10 The bool Data Type; 2.11 Determining the Size of a Data Type; 2.12 More about Variable Assignments and Initialization; 2.13 Scope; 2.14 Arithmetic Operators; 2.15 Comments; 2.16 Named Constants; 2.17 Programming Style; Review Questions and Exercises; Programming Challenges; CHAPTER 3 Expressions and Interactivity; 3.1 The cin Object; 3.2 Mathematical Expressions; 3.3 When You Mix Apples and Oranges: Type Conversion; 3.4 Overflow and Underflow; 3.5 Type Casting. 3.6 Multiple Assignment and Combined Assignment3.7 Formatting Output; 3.8 Working with Characters and string Objects; 3.9 More Mathematical Library Functions; 3.10 Focus on Debugging: Hand Tracing a Program; 3.11 Focus on Problem Solving: A Case Study; Review Questions and Exercises; Programming Challenges; CHAPTERCover; Inside Front Cover; Title Page; Copyright Page; Contents at a Glance; Contents; Preface; CHAPTER 1 Introduction to Computers and Programming; 1.1 Why Program?; 1.2 Computer Systems: Hardware and Software; 1.3 Programs and Programming Languages; 1.4 What Is a Program Made of?; 1.5 Input, Processing, and Output; 1.6 The Programming Process; 1.7 Procedural and Object-Oriented Programming; Review Questions and Exercises; CHAPTER 2 Introduction to C++; 2.1 The Parts of a C++ Program; 2.2 The cout Object; 2.3 The #include Directive; 2.4 Variables, Literals, and Assignment Statements. 2.5 Identifiers2.6 Integer Data Types; 2.7 The char Data Type; 2.8 The C++ string Class; 2.9 Floating-Point Data Types; 2.10 The bool Data Type; 2.11 Determining the Size of a Data Type; 2.12 More about Variable Assignments and Initialization; 2.13 Scope; 2.14 Arithmetic Operators; 2.15 Comments; 2.16 Named Constants; 2.17 Programming Style; Review Questions and Exercises; Programming Challenges; CHAPTER 3 Expressions and Interactivity; 3.1 The cin Object; 3.2 Mathematical Expressions; 3.3 When You Mix Apples and Oranges: Type Conversion; 3.4 Overflow and Underflow; 3.5 Type Casting. 3.6 Multiple Assignment and Combined Assignment3.7 Formatting Output; 3.8 Working with Characters and string Objects; 3.9 More Mathematical Library Functions; 3.10 Focus on Debugging: Hand Tracing a Program; 3.11 Focus on Problem Solving: A Case Study; Review Questions and Exercises; Programming Challenges; CHAPTER 4 Making Decisions; 4.1 Relational Operators; 4.2 The if Statement; 4.3 Expanding the if Statement; 4.4 The if/else Statement; 4.5 Nested if Statements; 4.6 The if/else if Statement; 4.7 Flags; 4.8 Logical Operators; 4.9 Checking Numeric Ranges with Logical Operators; 4.10 Menus. 4.11 Focus on Software Engineering: Validating User Input4.12 Comparing Characters and Strings; 4.13 The Conditional Operator; 4.14 The switch Statement; 4.15 More about Blocks and Variable Scope; Review Questions and Exercises; Programming Challenges; CHAPTER 5 Loops and Files; 5.1 The Increment and Decrement Operators; 5.2 Introduction to Loops: The while Loop; 5.3 Using the while Loop for Input Validation; 5.4 Counters; 5.5 The do-while Loop; 5.6 The for Loop; 5.7 Keeping a Running Total; 5.8 Sentinels; 5.9 Focus on Software Engineering: Deciding Which Loop to Use; 5.10 Nested Loops. 5.11 Using Files for Data Storage5.12 Optional Topics: Breaking and Continuing a Loop; Review Questions and Exercises; Programming Challenges; CHAPTER 6 Functions; 6.1 Focus on Software Engineering: Modular Programming; 6.2 Defining and Calling Functions; 6.3 Function Prototypes; 6.4 Sending Data into a Function; 6.5 Passing Data by Value; 6.6 Focus on Software Engineering: Using Functions in a Menu-Driven Program; 6.7 The return Statement; 6.8 Returning a Value from a Function; 6.9 Returning a Boolean Value; 6.10 Local and Global Variables; 6.11 Static Local Variables; 6.12 Default Arguments. … (more)
- Edition:
- Ninth edition, global edition
- Publisher Details:
- Harlow, United Kingdom : Pearson Education Limited
- Publication Date:
- 2019
- Extent:
- 1 online resource
- Subjects:
- 005.13/3
C++ (Computer program language)
Electronic books - Languages:
- English
- ISBNs:
- 9781292222400
1292222409 - Related ISBNs:
- 1292222336
9781292222332 - Notes:
- Note: Description based on online resource; title from digital title page (viewed on January 22, 2019).
- Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.332614
- Ingest File:
- 02_334.xml