Jan Graba
Up and Running with C++
Schade – dieser Artikel ist leider ausverkauft. Sobald wir wissen, ob und wann der Artikel wieder verfügbar ist, informieren wir Sie an dieser Stelle.
Jan Graba
Up and Running with C++
- Broschiertes Buch
- Merkliste
- Auf die Merkliste
- Bewerten Bewerten
- Teilen
- Produkt teilen
- Produkterinnerung
- Produkterinnerung
Up and Running with C++ provides readers with a quick guide to the fundamental concepts of object orientation (O-O) and their implementation in C++. Written in a user-friendly style, no prior knowledge of C or C++ is assumed. The book introduces the concepts and terminology of object-orientation using a step-by-step approach and shows how to implement the central concepts of O-O in C++. The building blocks of the C++ language are clearly presented with numerous examples that will give readers practice in writing applications. The book avoids excessive technical detail and will be ideal for…mehr
Andere Kunden interessierten sich auch für
Up and Running with C++ provides readers with a quick guide to the fundamental concepts of object orientation (O-O) and their implementation in C++. Written in a user-friendly style, no prior knowledge of C or C++ is assumed. The book introduces the concepts and terminology of object-orientation using a step-by-step approach and shows how to implement the central concepts of O-O in C++. The building blocks of the C++ language are clearly presented with numerous examples that will give readers practice in writing applications. The book avoids excessive technical detail and will be ideal for programmers and students who need an easy-to-understand, comprehensive introduction to C++.
Produktdetails
- Produktdetails
- Verlag: Springer / Springer, Berlin / Springer, London
- 1998.
- Seitenzahl: 316
- Erscheinungstermin: 18. März 1998
- Englisch
- Abmessung: 235mm x 155mm x 18mm
- Gewicht: 492g
- ISBN-13: 9783540762348
- ISBN-10: 3540762345
- Artikelnr.: 26520811
- Verlag: Springer / Springer, Berlin / Springer, London
- 1998.
- Seitenzahl: 316
- Erscheinungstermin: 18. März 1998
- Englisch
- Abmessung: 235mm x 155mm x 18mm
- Gewicht: 492g
- ISBN-13: 9783540762348
- ISBN-10: 3540762345
- Artikelnr.: 26520811
The author is a senior lecturer at SheffieldHallam University in the UK and previously published a book on C++ with us.
1 The Fundamentals of Object Orientation.- 1.1 Brief Background.- 1.2 Basic Concepts and Terminology.- 1.2.1 Objects.- 1.2.2 Object-Orientated Programming (OOP).- 1.2.3 Inheritance.- 1.2.4 Message-Passing.- 1.2.5 Polymorphism.- 1.3 The Motivation for a New Approach.- 1.4 Why OOP?.- 1.5 The Next Few Chapters.- 2 First Steps in C++ Programming.- 2.1 The Basic Structure of a C++ Program.- 2.2 Basic Data Types and Variable Declarations.- 2.3 Type Conversions.- 2.4 Constants.- 2.5 Standard Input and Formatted Output.- 2.6 Enumerated Types.- 2.7 The Scope of a Variable.- 2.8 The Lifetime of a Variable.- 2.9 Common Operators.- 2.9.1 The Assignment Operator.- 2.9.2 Arithmetic Operators.- 2.9.3 The Bitwise Operators.- 2.9.4 Conditional Operator.- 2.9.5 Compound Operators.- 2.9.6 Comma Operator.- Exercises.- 3 Selections and Iterations.- 3.1 The Relational Operators.- 3.2 Selection Statements.- 3.2.1 The if Statement.- 3.2.2 The switch Statement.- 3.3 Iterations.- 3.3.1 The while Statement.- 3.3.2 The do Statement.- 3.3.3 The for Statement.- 3.4 The Use of break and continue.- 3.5 The Logical Operators.- Exercises.- 4 Functions and Header Files.- 4.1 Functions.- 4.1.1 The C++ Approach and Rationale.- 4.1.2 Function Syntax.- 4.1.3 Inline Functions.- 4.2 Linkage 34.- 4.3 Non-System Header Files.- 4.4 The Multiple Inclusion Problem.- 4.5 Function Overloading.- 4.6 Default Arguments.- Exercises.- 5 Arrays, Pointers and References.- 5.1 Structured Types.- 5.2 Array Declaration and Usage.- 5.3 Array Initialisation.- 5.4 Array Processing.- 5.5 Strings.- 5.6 Pointers.- 5.7 Pointers and Arguments.- 5.8 Arrays and Pointers.- 5.9 The NULL Pointer.- 5.10 Strings Revisited.- 5.11 Functions for String Processing.- 5.12 Memory Allocation for Strings.- 5.13 Reference Types.- 5.14 References as Arguments.- Exercises.- 6 Adding Sophistication to Basic I/O.- 6.1 Handling 'Whitespace' in Text Input.- 6.2 The Formatting of Output Via Manipulators.- 6.2.1 Common Manipulators.- 6.2.2 Common Formatting Flags.- Exercises.- 7 Classes in C++.- 7.1 Structures.- 7.2 Explicit Class Declarations.- 7.3 Access Control.- 7.3.1 Private Access.- 7.3.2 Public Access.- 7.3.3 Default Access Levels.- 7.4 Member Function Definitions.- 7.5 Using a Class.- 7.6 Inline Member Functions.- 7.7 Constructors.- 7.7.1 General Purpose, Syntax and Rationale.- 7.7.2 Constructor Overloading.- 7.7.3 Default Constructors.- 7.7.4 Copy Constructors.- 7.8 Destructors.- 7.9 Arrays of Objects.- 7.10 Objects Within Objects.- 7.11 The this Pointer.- 7.12 Static Class Members.- Exercises.- 8 Dynamic Memory Management.- 8.1 Introduction.- 8.2 new and delete.- 8.3 Dynamic Memory Usage with Classes.- 8.4 Dynamic Data Structures.- 8.5 Dynamic Arrays of Objects.- 8.6 Dynamic Instance Variables.- Exercises.- 9 Inheritance.- 9.1 Inheritance in the Context of Object Orientation.- 9.2 Inheritance in C++.- 9.2.1 Syntax.- 9.2.2 Access Rights of Derived Classes.- 9.2.3 Base Class Constructors In Initialisation Lists.- 9.2.4 Bringing it all Together.- 9.2.5 Redefining Inherited Functions.- 9.2.6 The Assignment Compatibility Rule.- 9.3 Designing a Class Hierarchy.- 9.3.1 Existing Methods.- 9.3.2 General Principles.- 9.3.3 Windows Interface Example.- 9.3.4 MLS. Example.- Exercises.- 10 Polymorphism.- 10.1 Polymorphism in the Context of Object Orientation.- 10.2 The Assignment Compatibility Rule Revisited.- 10.3 Function Binding.- 10.4 Virtual Functions.- 10.5 Constructors and Destructors.- 10.6 Pure Virtual Functions and Abstract Base Classes.- 10.7 Heterogeneous Linked Lists.- Exercises.- 11 Friend Functions and Operator Functions.- 11.1 Access Problems.- 11.2 Friend Functions.- 11.2.1 Individual Friend Functions.- 11.2.2 Friend Classes.- 11.3 Operator Functions and Operator Overloading.- 11.3.1 General Use of Operator Functions.- 11.3.2 Operator Functions Within Classes.- 11.3.3 The Input and Output Operators.- 11.3.4 Multiple Overloading of Operator Functions.- 11.3.5 The Assignment Operator.- 11.3.6 Assignm
1 The Fundamentals of Object Orientation.- 1.1 Brief Background.- 1.2 Basic Concepts and Terminology.- 1.2.1 Objects.- 1.2.2 Object-Orientated Programming (OOP).- 1.2.3 Inheritance.- 1.2.4 Message-Passing.- 1.2.5 Polymorphism.- 1.3 The Motivation for a New Approach.- 1.4 Why OOP?.- 1.5 The Next Few Chapters.- 2 First Steps in C++ Programming.- 2.1 The Basic Structure of a C++ Program.- 2.2 Basic Data Types and Variable Declarations.- 2.3 Type Conversions.- 2.4 Constants.- 2.5 Standard Input and Formatted Output.- 2.6 Enumerated Types.- 2.7 The Scope of a Variable.- 2.8 The Lifetime of a Variable.- 2.9 Common Operators.- 2.9.1 The Assignment Operator.- 2.9.2 Arithmetic Operators.- 2.9.3 The Bitwise Operators.- 2.9.4 Conditional Operator.- 2.9.5 Compound Operators.- 2.9.6 Comma Operator.- Exercises.- 3 Selections and Iterations.- 3.1 The Relational Operators.- 3.2 Selection Statements.- 3.2.1 The if Statement.- 3.2.2 The switch Statement.- 3.3 Iterations.- 3.3.1 The while Statement.- 3.3.2 The do Statement.- 3.3.3 The for Statement.- 3.4 The Use of break and continue.- 3.5 The Logical Operators.- Exercises.- 4 Functions and Header Files.- 4.1 Functions.- 4.1.1 The C++ Approach and Rationale.- 4.1.2 Function Syntax.- 4.1.3 Inline Functions.- 4.2 Linkage 34.- 4.3 Non-System Header Files.- 4.4 The Multiple Inclusion Problem.- 4.5 Function Overloading.- 4.6 Default Arguments.- Exercises.- 5 Arrays, Pointers and References.- 5.1 Structured Types.- 5.2 Array Declaration and Usage.- 5.3 Array Initialisation.- 5.4 Array Processing.- 5.5 Strings.- 5.6 Pointers.- 5.7 Pointers and Arguments.- 5.8 Arrays and Pointers.- 5.9 The NULL Pointer.- 5.10 Strings Revisited.- 5.11 Functions for String Processing.- 5.12 Memory Allocation for Strings.- 5.13 Reference Types.- 5.14 References as Arguments.- Exercises.- 6 Adding Sophistication to Basic I/O.- 6.1 Handling 'Whitespace' in Text Input.- 6.2 The Formatting of Output Via Manipulators.- 6.2.1 Common Manipulators.- 6.2.2 Common Formatting Flags.- Exercises.- 7 Classes in C++.- 7.1 Structures.- 7.2 Explicit Class Declarations.- 7.3 Access Control.- 7.3.1 Private Access.- 7.3.2 Public Access.- 7.3.3 Default Access Levels.- 7.4 Member Function Definitions.- 7.5 Using a Class.- 7.6 Inline Member Functions.- 7.7 Constructors.- 7.7.1 General Purpose, Syntax and Rationale.- 7.7.2 Constructor Overloading.- 7.7.3 Default Constructors.- 7.7.4 Copy Constructors.- 7.8 Destructors.- 7.9 Arrays of Objects.- 7.10 Objects Within Objects.- 7.11 The this Pointer.- 7.12 Static Class Members.- Exercises.- 8 Dynamic Memory Management.- 8.1 Introduction.- 8.2 new and delete.- 8.3 Dynamic Memory Usage with Classes.- 8.4 Dynamic Data Structures.- 8.5 Dynamic Arrays of Objects.- 8.6 Dynamic Instance Variables.- Exercises.- 9 Inheritance.- 9.1 Inheritance in the Context of Object Orientation.- 9.2 Inheritance in C++.- 9.2.1 Syntax.- 9.2.2 Access Rights of Derived Classes.- 9.2.3 Base Class Constructors In Initialisation Lists.- 9.2.4 Bringing it all Together.- 9.2.5 Redefining Inherited Functions.- 9.2.6 The Assignment Compatibility Rule.- 9.3 Designing a Class Hierarchy.- 9.3.1 Existing Methods.- 9.3.2 General Principles.- 9.3.3 Windows Interface Example.- 9.3.4 MLS. Example.- Exercises.- 10 Polymorphism.- 10.1 Polymorphism in the Context of Object Orientation.- 10.2 The Assignment Compatibility Rule Revisited.- 10.3 Function Binding.- 10.4 Virtual Functions.- 10.5 Constructors and Destructors.- 10.6 Pure Virtual Functions and Abstract Base Classes.- 10.7 Heterogeneous Linked Lists.- Exercises.- 11 Friend Functions and Operator Functions.- 11.1 Access Problems.- 11.2 Friend Functions.- 11.2.1 Individual Friend Functions.- 11.2.2 Friend Classes.- 11.3 Operator Functions and Operator Overloading.- 11.3.1 General Use of Operator Functions.- 11.3.2 Operator Functions Within Classes.- 11.3.3 The Input and Output Operators.- 11.3.4 Multiple Overloading of Operator Functions.- 11.3.5 The Assignment Operator.- 11.3.6 Assignm