Current location - Education and Training Encyclopedia - Educational Knowledge - Fundamentals of C++ Programming (3rd Edition) Author: Zhou, What is the table of contents in the fifth chapter of this book?
Fundamentals of C++ Programming (3rd Edition) Author: Zhou, What is the table of contents in the fifth chapter of this book?
brief Introduction of the content

This book is divided into 12 chapters, including: basic data and expressions, program control structure, functions, arrays, structures, classes and objects, operator overloading, inheritance, virtual functions and polymorphism, templates, input/output streams, and exception handling.

Please log on to Huaxin Education Resource Network to download the electronic courseware and solve the problem (). The electronic courseware is composed of nearly 3000 PPT slides, with graphic language as the design concept, which fully expresses the teaching characteristics of programming course.

This book can be used as a teaching material for advanced language programming courses for undergraduates majoring in computer, information and electricity in colleges and universities, and also as a reference book for teachers, students and C++ language lovers.

catalogue

Chapter 65438 +0 Basic Data and Expressions

1. 1 Overview

1. 1. 1 programming language

A simple C++ program

Compilation and execution of 1. 1.3 program

Character set and vocabulary of 1.2 C++ language

1.2. 1 character set

1.2.2 vocabulary

Basic data types and storage forms of 1.3 C++ language

1.3. 1 C++ data type

1.3.2 data storage

1.3.3 basic data types

1.4 data objects and access

1.4. 1 variable definition

1.4.2 access variables

1.4.3 Constant and constrained access

1.5 expression

1.5. 1 operator

1.5.2 arithmetic expression

1.5.3 Logical expression

1.5.4 assignment expression

1.5.5 conditional expression

1.5.6 comma expression

1.6 data input and output

1.6. 1 keyboard input

1.6.2 screen output

1.6.3 expression statement

Summary of this chapter

Exercise 1

Chapter II Program Control Structure

2. 1 Select control

2. 1. 1 if statement

2. 1.2 switch statement

2.2 Cycle control

2.2. 1 while statement

Do_while statement

2.2.3 statement

Cyclic nesting

2.3 the use of judgment expressions

2.4 Go to Statement

Summary of this chapter

Exercise 2

Chapter III Functions

3. 1 function definition and call

3. 1. 1 function definition

3. 1.2 function call

3. 1.3 function prototype

3.2 Transfer of functional parameters

3.2. 1 value transfer parameter

Pointer parameter

Reference parameter

3.2.4 Function return type

3.3 Function Call Mechanism

3.3. 1 nested call

recursive call

3.4 Function pointer

3.4. 1 functional address

Function pointer

3.5 Inline functions and overloaded functions

3.5. 1 embedded function

Function overloading

3.6 Variable storage characteristics and identifier range

3.6. 1 storage characteristics

3.6.2 Scope and visibility of identifiers

3.7 Multi-file program structure

3.7. 1 multi-file structure

Pretreatment description

3.7.3 Multi-file programs use global variables.

3.8 Namespace

3.8. 1 standard namespace

Define a namespace

Use namespaces.

3.9 Termination of program execution

Summary of this chapter

Exercise 3

The fourth chapter array

Chapter V Structure

Chapter 6 Classes and Objects

Chapter 7 Operator Overloading

Chapter VIII Inheritance

Chapter 9 Virtual Function and Polymorphism

Chapter 65438 +00 template

Chapter 1 1 Input/Output Stream

Chapter 12 exception handling

Appendix a console programming

Appendix b common library functions

Appendix C C++ keyword list

Appendix D ASCII character set