Problem Solving With C++ 7th Edition Pearson International Edition Book/CD Package

International Version

av Walter Savitch

Bloggar      
Format:
Mixed media product
Utgiven:
2008-04-01
Språk:
Engelska
Now featuring new Video Notes the Seventh Edition ofProblem Solving with C++ continues to be the most widely used textbook by students and instructors in the introduction to programming and C++ language course. Through each edition, hundreds and thousands of students have valued Walt Savitchs approach to programming, which emphasizes active reading through the use of well-placed examples and self-test examples. Created for the beginner, this book focuses on cultivating strong problem-solving and programming techniques while introducing students to the C++ programming language.

Passar bra ihop

Problem Solving With C++ 7th Edition Pearson International Edition Book/CD Package + Starting Out with C++
De som köpt den här boken har ofta också köpt Starting Out with C++ av Tony Gaddis
Pris för båda:
1333:-Köp

Fler böcker av Walter Savitch

Absolute C++
Absolute Java
Java
Java: Introduction to Problem Solving and Programming 6th Edition

Absolute C++

Walter Savitch (häftad)

Absolute Java

Walter Savitch

Java

Walter Savitch (häftad)

Java: Introduction to Problem Solving and Programmin...

Walter Savitch
607:- Köp
574:- Köp
848:- Köp
508:- Köp

Kundrecensioner

Bli först med att recensera och betygsätt boken Problem Solving With C++ 7th Edition Pearson International Edition Book/CD Package - du kan vinna 200 kr varje månad i tävlingen "Månadens recension".

Bloggat om Problem Solving With C++ 7th Edition Pearson Interna...

Övrig information

Walter Savitch is Professor Emeritus of Computer Science at the University of California-San Diego. He received his PhD in mathematics from the University of California-Berkeley in 1969. Since that time he has been on the faculty of the University of California-San Diego (UCSD). He served as director of the UCSD Interdisciplinary PhD program in cognitive science for over ten years. He has served as a visiting researcher at the computer science departments of the University of Washington in Seattle and at the University of Colorado in Boulder, and has been a visiting scholar at the Centrum voor Wiskunde en Informatica in Amsterdam. Kenrick Mock is an Associate Professor at the University of Alaska-Anchorage. He has also taught at Washington Stat University, Portland State University, and the University of California-Davis. He teaches undergraduate computer science courses across the curriculum including introductory C++, JavaaA A , Visual BasicA (R) for non-programmers, algorithms, computer security, and artificial intelligence. With the Coastal Marine Institute at UAA, he helped develop a computer system to aid in research about Alaska sea ice and the atmosphere. Before becoming a teacher, Mock was a research scientist and software engineer at IntelaA A . He received a PhD in computer science from UC Davis.

Innehållsförteckning

Chapter 1 Introduction to Computers and C++

Programming 1

1.1 COMPUTER SYSTEMS 2

Hardware 2

Software 7

High-Level Languages 8

Compilers 9

History Note 12

1.2 PROGRAMMING AND PROBLEM-SOLVING 12

Algorithms 12

Program Design 15

Object-Oriented Programming 17

The Software Life Cycle 17

1.3 INTRODUCTION TO C++ 19

Origins of the C++ Language 19

A Sample C++ Program 20

Pitfall: Using the Wrong Slash in \n 24

Programming Tip: Input and Output Syntax 24

Layout of a Simple C++ Program 24

Pitfall: Putting a Space before the include File Name 26

Compiling and Running a C++ Program 27

Programming Tip: Getting Your Program to Run 27

1.4 TESTING AND DEBUGGING 30

Kinds of Program Errors 30

Pitfall: Assuming Your Program Is Correct 31

Chapter Summary 32

Answers to Self-Test Exercises 33

Programming Projects 36

 

Chapter 2 C++ Basics 39

2.1 VARIABLES AND ASSIGNMENTS 40

Variables 40

Names: Identifiers 42

Variable Declarations 44

Assignment Statements 45

Pitfall: Uninitialized Variables 47

Programming Tip: Use Meaningful Names 49

2.2 INPUT AND OUTPUT 50

Output Using cout 50

Include Directives and Namespaces 52

Escape Sequences 53

Programming Tip: End Each Program with a \n or endl 55

Formatting for Numbers with a Decimal Point 55

Input Using cin 56

Designing Input and Output 58

Programming Tip: Line Breaks in I/O 58

2.3 DATA TYPES AND EXPRESSIONS 60

The Types int and double 60

Other Number Types 62

The Type char 63

The Type bool 64

Introduction to the Class string 65

Type Compatibilities 66

Arithmetic Operators and Expressions 69

Pitfall: Whole Numbers in Division 71

More Assignment Statements 73

2.4 SIMPLE FLOW OF CONTROL 74

A Simple Branching Mechanism 74

Pitfall: Strings of Inequalities 80

Pitfall: Using = in place of == 81

Compound Statements 82

Simple Loop Mechanisms 84

Increment and Decrement Operators 87

Programming Example: Charge Card Balance 89

Pitfall: Infinite Loops 90

2.5 PROGRAM STYLE 93

Indenting 93

Comments 94

Naming Constants 96

Chapter Summary 98

Answers to Self-Test Exercises 99

Programming Projects 104

 

Chapter 3 More Flow of Control 111

3.1 USING BOOLEAN EXPRESSIONS 112

Evaluating Boolean Expressions 112

Pitfall: Boolean Expressions Convert to int Values 116

Enumeration Types (Optional) 119

3.2 ...

De som köpt "Problem Solving With C++ 7th Edition Pearson International Edition Book/..." har även köpt:

Microsoft Office 2007 In Depth

Microsoft Office 2007 In Depth

Ed Bott, Woody Leonhard (häftad)
205:-
Professional C# 2008

Professional C# 2008

Christian Nagel, Bill Evjen, Jay Glynn, Morgan Skinner, Karli Watson (häftad)
305:-
Objective-C Developer Reference

Objective-C Developer Reference

Jiva Devoe (häftad)
205:-
Problem Solving With C++ 7th Edition Pearson International Edition Book/CD Package
  • Titel: Problem Solving With C++ 7th Edition Pearson International Edition Book/CD Package
  • ISBN: 9780321549402
  • Förlag: PRENTICE-HALL
  • Utgivningsland: USA
  • Utgivningsort: Upper Saddle River
  • Illustrationer: Illustrations (some col.)
  • Upplaga: 7
  • Volymtitel: International Version
  • Antal sidor: 1072
  • Vikt: 1576 g
  • Höjd: 230 mm
  • Antal komponenter: 2
  • Komponenter: Paperback (1), CD-ROM (1)
  • Format: Mixed media product