forked from ShujiaHuang/Cpp-Primer-Plus-6th
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
636ea6e
commit adfecd9
Showing
20 changed files
with
4,820 additions
and
4,856 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# 第一章 预备知识 | ||
|
||
C++总览简介 | ||
|
||
C++ 是一种静态类型的、编译式的、通用的、大小写敏感的、不规则的编程语言,支持过程化编程、面向对象编程和泛型编程。 | ||
C++ 被认为是一种中级语言,它综合了高级语言和低级语言的特点。 | ||
C++ 是由 Bjarne Stroustrup 于 1979 年在新泽西州美利山贝尔实验室开始设计开发的。C++ 进一步扩充和完善了 C 语言,最初命名为带类的C,后来在 1983 年更名为 C++。 | ||
C++ 是 C 的一个超集,事实上,任何合法的 C 程序都是合法的 C++ 程序。 | ||
|
||
注意:使用静态类型的编程语言是在编译时执行类型检查,而不是在运行时执行类型检查。 | ||
|
||
面向对象程序设计 | ||
|
||
C++最大的亮点就是面向对象程序设计理念的运用。包括面向对象开发的四大特性: | ||
封装 | ||
抽象 | ||
继承 | ||
多态 | ||
|
||
C++的组成部分 | ||
|
||
标准的 C++ 由三个重要部分组成: | ||
核心语言,提供了所有构件块,包括变量、数据类型和常量,等等。 | ||
C++ 标准库,提供了大量的函数,用于操作文件、字符串等。 | ||
标准模板库(STL),提供了大量的方法,用于操作数据结构等。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# 第二章 开始学习 C++ | ||
|
||
(略)这一章很简单,无笔记。 | ||
|
||
C++用分号隔开每一个执行语句。 |
Oops, something went wrong.