Muutke küpsiste eelistusi

Migrating from Pascal to Cplusplus 1997 ed. [Kõva köide]

  • Formaat: Hardback, 565 pages, kõrgus x laius: 279x210 mm, kaal: 1699 g, X, 565 p., 1 Hardback
  • Sari: Undergraduate Texts in Computer Science
  • Ilmumisaeg: 20-Dec-1996
  • Kirjastus: Springer-Verlag New York Inc.
  • ISBN-10: 0387947302
  • ISBN-13: 9780387947303
  • Kõva köide
  • Hind: 48,87 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Tavahind: 57,49 €
  • Säästad 15%
  • Raamatu kohalejõudmiseks kirjastusest kulub orienteeruvalt 3-4 nädalat
  • Kogus:
  • Lisa ostukorvi
  • Tasuta tarne
  • Tellimisaeg 2-4 nädalat
  • Lisa soovinimekirja
  • Formaat: Hardback, 565 pages, kõrgus x laius: 279x210 mm, kaal: 1699 g, X, 565 p., 1 Hardback
  • Sari: Undergraduate Texts in Computer Science
  • Ilmumisaeg: 20-Dec-1996
  • Kirjastus: Springer-Verlag New York Inc.
  • ISBN-10: 0387947302
  • ISBN-13: 9780387947303
Many students and programmers familiar with Pascal are now looking to upgrade their skills to a well-structured object-oriented programming language such as C++. This textbook provides such an "upgrade path" by presenting a course on C++ in the spirit of structured programming. Both authors teach this material to a wide variety of students and include numerous programming exercises to test a reader's understanding and to increase their confidence in programming in C++.

Muu info

Springer Book Archives
Preface V
Chapter 1--C++ as Structured Programming: An Historical Perspective
1(12)
1.0 Introduction
1(1)
1.1 Structured Programming
2(5)
History of Pascal as Structured Programming
3(1)
Control Structures
3(1)
Data Structures
4(1)
Other Characteristics of Structured Programming
5(2)
Concluding Remarks on Structured Programming
7(1)
1.2 Algorithms + Data Structures = Objects
7(4)
Classes and Objects for the Pascal Programmer
8(1)
Simula-Like Classes
9(1)
The Power of Classes and Objects
9(1)
Concluding Remarks on Classes and Objects
10(1)
1.3 Programming Paradigms
11(1)
Goals for C++
11(1)
References
12(1)
Chapter 2--The C++ Subset That Covers Pascal
13(70)
2.0 Introduction
13(2)
2.1 Orientation to C++
15(5)
C++ Is in Lower Case
16(1)
Program Comments
17(1)
Using Libraries
17(1)
The main() Function
18(1)
Building a C++ Program
18(2)
2.2 Data Types and Data Structures
20(10)
Constants
20(1)
Enumerated Data Types
21(1)
The Subrange
22(1)
The Struct
23(1)
Arrays
24(6)
2.3 Arithmetic, Boolean, and Logical Expressions
30(4)
Cast Float
31(1)
The Cast int
31(1)
Data Conversion with Assignment
31(1)
Chars and Ints
31(2)
Relational and Logical Operators
33(1)
Precedence in Relational Expressions
34(1)
2.4 Control Structures
34(6)
The if and if...else Statements
35(1)
The switch Statement
36(1)
The while Loop
37(1)
The do...while Loop
38(1)
The for Loop
38(1)
The Unconditional Branch
39(1)
2.5 Functions
40(15)
Function Basics
40(1)
Functions and Procedures
41(1)
Constructing Functions
42(1)
The Declarator
42(1)
The Return
43(1)
Examples of Functions
44(3)
The Prototype
47(2)
Scope and Lifetime
49(3)
Arrays as Parameters
52(2)
Structs as Parameters
54(1)
2.6 Dynamically Allocated Structures
55(6)
Typedef
56(1)
Operator new
57(1)
Member Access
58(1)
Manipulating Dynamic Structures
58(1)
Delete
59(1)
Data Structure as Arguments
59(2)
2.7 Output and Input
61(7)
Using cout for Output
62(3)
Using cin for Input
65(3)
File I/O
68(1)
2.8 Summary and Review
68(13)
Index of C++ Symbols, Keywords, Operators, and Library Functions Forming "the Pascal Subset"
69(12)
References
81(2)
Chapter 3--Procedural C++ That Extends Pascal
83(44)
3.0 Introduction
83(1)
3.1 Operators
83(11)
Assignment
84(1)
The Compound Assignment Operators
84(1)
The Unary Increment and Decrement Operators
85(2)
The Conditional Expression Operator,?:
87(1)
The sizeof Operator
88(2)
Data Type Conversion
90(1)
The address-of Operator and the Indirection Operator
90(4)
3.2 Pointers
94(21)
Understanding and Managing Arrays
96(8)
Automatic char Arrays
104(7)
Dynamically Allocated Arrays
111(4)
3.3 Extending Functions
115(8)
Function-Name Overloading
115(3)
Default Values for Trailing Arguments
118(4)
Static Variables Within Functions
122(1)
3.4 Summaries
123(3)
References
126(1)
Chapter 4--C++ and Object-Oriented Programming
127(126)
4.0 Introduction
127(1)
4.1 Classes and Objects
128(18)
Classes
132(1)
Access and Membership
132(1)
Member Functions
133(1)
Objects
134(3)
Selectors and Modifiers
137(1)
Overloading Member Functions
138(2)
Free Functions That Have Box Arguments and Return Boxes
140(2)
Abstract Data Types
142(4)
Concluding Remark on Classes and Objects in C++
146(1)
4.2 Constructors and Destructors
146(27)
Constructors
148(1)
An Example with Constructors
148(11)
Destructors
159(4)
Static Data and Functions
163(6)
Constant Objects
169(4)
4.3 Manipulating Abstractions: Friends and Operator Overloading
173(43)
Introduction
173(2)
Friend Function and Friend Classes
175(7)
Operator Overloading
182(34)
4.4 Relationships Among Classes: Composition and Derivation
216(36)
Introduction
216(3)
Composition
219(3)
Inheritance
222(11)
Multiple Inheritance
233(8)
Polymorphism
241(11)
References
252(1)
Chapter 5--Templates
253(306)
5.0 Introduction
253(1)
5.1 Function Templates
254(9)
Motivating Function Templates
255(1)
Defining Function Templates
256(7)
5.2 Class Templates
263(51)
A container Built From Two Scalars
265(22)
A Container Built From an Array
287(7)
A Container Built From a Linked Storage Structure
294(20)
Reference
314(1)
Exercises
315(142)
Chapter 1
315(3)
Chapter 2
318(28)
Chapter 3
346(27)
Chapter 4
373(41)
Chapter 5
414(43)
Answers to Odd-Numbered Exercises
457(102)
Chapter 1
457(1)
Chapter 2
458(9)
Chapter 3
467(5)
Chapter 4
472(70)
Chapter 5
542(17)
Index 559