Skip to content

Commit

Permalink
typo: 破折号
Browse files Browse the repository at this point in the history
  • Loading branch information
FeignClaims committed Sep 26, 2024
1 parent 934bab0 commit f4356cb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions c_or_cpp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

如果那教的就是 C++, 我也不会喜欢!

— C++ 创造者 Bjarne Stroustrup
C++ 创造者 Bjarne Stroustrup

通常, 选 C 课程和选 C++ 课程 **没有区别**, 在第一学期你甚至会学到几乎一样的内容.

Expand Down Expand Up @@ -65,7 +65,7 @@

C 相信程序员, 而 C++ 相信编译器.

— Corentin Jabot
Corentin Jabot

C++ 不是 C. 初学者用先学 C 再学 C++ 的方式学习 C++ 反而会让学习 C++ 变得困难: 用 C 语言的思维去看 C++ 只会觉得 C++ 疯得离谱才加了一堆特性或库 [#2]_.

Expand Down
2 changes: 1 addition & 1 deletion faq/access_specifiers/main.rst
Original file line number Diff line number Diff line change
Expand Up @@ -154,4 +154,4 @@

你只可到这里, 不可越过.

— 基类访问控制符
基类访问控制符
2 changes: 1 addition & 1 deletion faq/basic_concepts/resource.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@

那时我常用这样的方式解释有关概念, 有一个构造函数, 它建立其他成员函数进行操作的环境基础; 另有一个析构函数来销毁这个环境, 并释放它以前获得的所有资源.

— Bjarne Stroustrup《The Design and Evolution of C++》
Bjarne Stroustrup《The Design and Evolution of C++》

.. note::

Expand Down

0 comments on commit f4356cb

Please sign in to comment.