C++ Programming (eBook)
504 Seiten
De Gruyter (Verlag)
978-3-11-047066-6 (ISBN)
This book begins by explaining key concepts in programming, and elaborates on characteristic of class, including inheritance, derivation and polymorphism. It also introduces generic programming and Standard Template Library, I/O Stream Library and Exception Handling. The concepts and methods are illustrated via examples step by step, making the book an essential reading for beginners to C++ programming.
Li Zheng, Tsinghua University, Beijing, China
lt;P>Li Zheng, Tsinghua University, Beijing, China
Chapter 1 Introduction
1. 1 The Development of Computer Programming Language
1.2 Object-oriented Method
1.3 Object-oriented Software Development
1.4 Representation and Storage of Information
1.5 The Development Process of Programs
Summary
Exercises
Chapter 2 Elementary C++ Programming
2.1 An Overview of C++ Language
2.2 Basic Data Types and Expressions
2.3 Data Input and Output
2.4 The Fundamental Control Structures of Algorithms
2.5 User-Defined Data Type
Summary
Exercises
Chapter 3 Functions
3.1 Definition and Use of Function
3.2 Inline Functions
3.3 Default Formal Parameters in Functions
3.4 Function Overloading
3.5 Using C++ System Functions
Summary
Exercises
Chapter 4 Class and Object
4.1 Basic Features of Object-Oriented Design
4.2 Class and Object
4.3 Constructor and Destructor
4.4 Combination of Classes
4.5 UML
4.6 Example – Personnel Information Management Programme
Summary
Exercises
Chapter 5 Data Sharing and Protecting
5.1 Scope and Visibility of Identifiers
5.2 Lifetime of Object
5.3 Static Members of Class
5.4 Friend of Class
5.4 Protection of Shared Data
5.6 Multi-file Structure and Compilation Preprocessing Directives
5.7 Example - Personnel Information Management Programme
Summary
Exercises
Chapter 6 Arrays, Pointers and Strings
6.1 Arrays
6.2 Pointers
6.3 Dynamic memory Allocation
6.4 Deep Copy and Shallow Copy
6.5 Strings
6.6 Example - Personnel Information Management Programme
Summary
Exercises
Chapter 7 Inheritance and Derivation
7.1 Inheritance and Derivation of Class
7.2 Access Control
7.3 Type Compatible Rule
7.4 Constructor and Destructor of Derived Class
7.5 Identification and Access of Derived-Class Member
7.6 Example - Solving Linear equation by Gaussian Elimination Method
Summary
Exercises
Chapter 8 Polymorphism
8.1 An Overview of Polymorphism
8.2 Operator Overload
8.3 Virtual Function
8.4 Abstract Class
8.5 Example – Variable Stepwise Trapezoid Method to Calculate Functional Definite Integral
8.6 Example – Improvement to Staff Information Management System in a Small Cooperation
Summary
Exercises
Chapter 9 Collections and Their Organization
9.1 Function Template and Class Template
9.2 Linear Collection
9.3 Organizing Data in Linear Collection
9.4 Application – Improving the HR Management Programme in a Small Cooperation
Summary
Exercises
Chapter 10 Generic Programming and STL
10.1 Generic Programming
10.2 Containers in STL
10.3 Iterators
10.4 Algorithms in STL
10.5 Function Objects
10.6 Application – Improving the HR Management Programme in a Small Cooperation
Summary
Exercises
Chapter 11 The I/O Stream Library and Input/Output
11.1 the Concept of I/O Stream and the Structure of Stream Library
11.2 Output Stream
11.3 Input Stream
11.4 Input/Output Stream
11.5 Example – Improving Employee Information Management System
Summary
Exercises
Chapter 12 Exception Handling
12.1 Basic Concept of Exception Handling
12.2 Implementation of Exception Handling in C++
12.3 Destruction and Construction in Exception Handling
12.4 Exception Handling of Standard Library
12.5 Example – Improvement to Personal Information Administration Programme in a Small Cooperation
Summary
Exercises
Erscheint lt. Verlag | 19.2.2019 |
---|---|
Reihe/Serie | De Gruyter STEM | De Gruyter STEM |
Co-Autor | Tsinghua University Press |
Zusatzinfo | 94 b/w and 0 col. ill., 21 b/w tbl. |
Verlagsort | Berlin/Boston |
Sprache | englisch |
Themenwelt | Sachbuch/Ratgeber ► Natur / Technik |
Informatik ► Programmiersprachen / -werkzeuge ► C / C++ | |
Mathematik / Informatik ► Informatik ► Software Entwicklung | |
Technik | |
ISBN-10 | 3-11-047066-7 / 3110470667 |
ISBN-13 | 978-3-11-047066-6 / 9783110470666 |
Haben Sie eine Frage zum Produkt? |
Größe: 31,5 MB
DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasserzeichen und ist damit für Sie personalisiert. Bei einer missbräuchlichen Weitergabe des eBooks an Dritte ist eine Rückverfolgung an die Quelle möglich.
Dateiformat: EPUB (Electronic Publication)
EPUB ist ein offener Standard für eBooks und eignet sich besonders zur Darstellung von Belletristik und Sachbüchern. Der Fließtext wird dynamisch an die Display- und Schriftgröße angepasst. Auch für mobile Lesegeräte ist EPUB daher gut geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür die kostenlose Software Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür eine kostenlose App.
Geräteliste und zusätzliche Hinweise
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich