Skip to content

Commit 2eb8fdb

Browse files
committed
all: rename book title
Update #1
1 parent 6238d66 commit 2eb8fdb

21 files changed

+27
-25
lines changed

README-zh-cn.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<img src="assets/cover-2nd.png" alt="logo" height="550" align="right" />
22

3-
# 高速上手 C++11/14/17/20
3+
# 现代 C++ 教程:高速上手 C++11/14/17/20
44

55
[![](https://img.shields.io/badge/language-English-blue.svg?style=flat-square)](./README.md) [![](https://img.shields.io/badge/language-简体中文-red.svg?style=flat-square)](./README-zh-cn.md) [![](https://img.shields.io/badge/€-donate-ff69b4.svg?style=flat-square)](./assets/donate.md) [![](https://img.shields.io/badge/chat-community-667ed5.svg?style=flat-square)](./assets/community.md)
66

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<img src="assets/cover-2nd-en.png" alt="logo" height="550" align="right" />
22

3-
# C++11/14/17/20 On the Fly
3+
# Modern C++ Tutorial: C++11/14/17/20 On the Fly
44

55
[![](https://img.shields.io/badge/language-English-blue.svg?style=flat-square)](./README.md) [![](https://img.shields.io/badge/language-简体中文-red.svg?style=flat-square)](./README-zh-cn.md) [![](https://img.shields.io/badge/€-donate-ff69b4.svg?style=flat-square)](./assets/donate.md) [![](https://img.shields.io/badge/chat-community-667ed5.svg?style=flat-square)](./assets/community.md)
66

assets/cover-2nd-en.afphoto

48.4 KB
Binary file not shown.

assets/cover-2nd-en.png

32 KB
Loading

assets/cover-2nd.afphoto

6.45 KB
Binary file not shown.

assets/cover-2nd.png

41.8 KB
Loading

book/en-us/00-preface.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ order: 0
1111
## Introduction
1212

1313
C++ user group is a fairly large. From the advent of C++98 to the official finalization of C++11, it has accumulated over a decade. C++14/17 is an important complement and optimization for C++11, and C++20 brings this language to the door of modernization. The extended features of all these new standards are given to the C++ language. Infused with new vitality.
14-
C++ programmers, who are still using **traditional C++** (this book refers to C++98 and its previous C++ standards as traditional C++), may even amzed by the fact that they are not using the same language while reading C++11/14/17/20 code.
14+
C++ programmers, who are still using **traditional C++** (this book refers to C++98 and its previous C++ standards as traditional C++), may even amzed by the fact that they are not using the same language while reading modern C++ code.
1515

1616
**Modern C++** (this book refers to C++11/14/17/20) introduces a lot of features into traditional C++, which makes the whole C++ become language that modernized. Modern C++ not only enhances the usability of the C++ language itself, but the modification of the `auto` keyword semantics gives us more confidence in manipulating extremely complex template types. At the same time, a lot of enhancements have been made to the language runtime. The emergence of Lambda expressions has made C++ have the "closure" feature of "anonymous functions", which is almost in modern programming languages ​​(such as Python/Swift/.. It has become commonplace, and the emergence of rvalue references has solved the problem of temporary object efficiency that C++ has long been criticized.
1717

book/zh-cn/00-preface.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ order: 0
1111
## 引言
1212

1313
C++ 是一个用户群体相当大的语言。从 C++98 的出现到 C++11 的正式定稿经历了长达十年多之久的积累。C++14/17 则是作为对 C++11 的重要补充和优化,C++20 则将这门语言领进了现代化的大门,所有这些新标准中扩充的特性,给 C++ 这门语言注入了新的活力。
14-
那些还在坚持使用**传统 C++**(本书把 C++98 及其之前的 C++ 特性均称之为传统 C++)而未接触过 C++11/14/17/20 的 C++ 程序员在见到诸如 Lambda 表达式这类全新特性时,甚至会流露出『学的不是同一门语言』的惊叹之情。
14+
那些还在坚持使用**传统 C++**(本书把 C++98 及其之前的 C++ 特性均称之为传统 C++)而未接触过现代 C++ 的 C++ 程序员在见到诸如 Lambda 表达式这类全新特性时,甚至会流露出『学的不是同一门语言』的惊叹之情。
1515

1616
**现代 C++** (本书中均指 C++11/14/17/20) 为传统 C++ 注入的大量特性使得整个 C++ 变得更加像一门现代化的语言。现代 C++ 不仅仅增强了 C++ 语言自身的可用性,`auto` 关键字语义的修改使得我们更加有信心来操控极度复杂的模板类型。同时还对语言运行期进行了大量的强化,Lambda 表达式的出现让 C++ 具有了『匿名函数』的『闭包』特性,而这一特性几乎在现代的编程语言(诸如 Python/Swift/... )中已经司空见惯,右值引用的出现解决了 C++ 长期以来被人诟病的临时对象效率问题等等。
1717

book/zh-cn/toc.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 高速上手 C++ 11/14/17/20
1+
# 现代 C++ 教程:高速上手 C++ 11/14/17/20
22

33
## 目录
44

pdf/en-us/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
title = 'C++11/14/17/20 On the Fly'
1+
title = 'Modern C++ Tutorial: C++11/14/17/20 On the Fly'
22
filename = 'modern-cpp-tutorial'
33
outputname='modern-cpp-tutorial'
44
revision = $(shell git describe --always --tags)

pdf/en-us/aggregator.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
with open('modern-cpp-tutorial.md', 'w') as outfile:
1212
outfile.write("""---
13-
title: "C++11/14/17/20 On the Fly"
13+
title: "Modern C++ Tutorial: C++11/14/17/20 On the Fly"
1414
author: Changkun Ou <[email protected]>
1515
copyright: cc-by-nc-nd 4.0
1616
---

pdf/en-us/meta/template.tex

+2-2
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
\thispagestyle{plain}
159159
\begin{center}
160160

161-
{\LARGE\textbf{C++11/14/17/20 On the Fly}}
161+
{\LARGE\textbf{Modern C++ Tutorial: C++11/14/17/20 On the Fly}}
162162

163163
\vspace{1em}
164164
{\large Changkun Ou ([email protected])}
@@ -176,7 +176,7 @@
176176

177177
\noindent This work was written by \href{https://github.com/changkun}{Ou Changkun} and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. \texttt{\small http://creativecommons.org/licenses/by-nc-nd/4.0/}
178178

179-
\vspace{6em}
179+
\vspace{5em}
180180
\includegraphics{../../assets/cover-2nd-en}
181181

182182
\end{center}

pdf/zh-cn/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
title = '高速上手 C++11/14/17/20'
1+
title = '现代 C++ 教程:高速上手 C++11/14/17/20'
22
filename = 'modern-cpp-tutorial'
33
outputname='modern-cpp-tutorial'
44
revision = $(shell git describe --always --tags)

pdf/zh-cn/aggregator.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
ignores = ['TOC', '返回目录', '许可', 'license']
99

1010
head = """---
11-
title: "高速上手 C++11/14/17/20"
11+
title: "现代 C++ 教程:高速上手 C++11/14/17/20"
1212
author: 欧长坤 <[email protected]>
1313
copyright: cc-by-nc-nd 4.0
1414
---

pdf/zh-cn/meta/template.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
\thispagestyle{plain}
165165
\begin{center}
166166

167-
{\LARGE\textbf{高速上手 C++11/14/17/20}}
167+
{\LARGE\textbf{现代 C++ 教程:高速上手 C++11/14/17/20}}
168168

169169
\vspace{1em}
170170
{\large 欧长坤 ([email protected])}

website/_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Site Configuration
2-
title: 高速上手 C++ 11/14/17/20
2+
title: "现代 C++ 教程: 高速上手 C++ 11/14/17/20"
33
subtitle: C++ 11/14/17/20 On the Fly
44
description: "欧长坤"
55
author: 欧长坤

website/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "2.0.0",
44
"private": true,
55
"hexo": {
6-
"version": "3.9.0"
6+
"version": "3.8.0"
77
},
88
"dependencies": {
99
"hexo-generator-index": "^0.2.1",
@@ -16,4 +16,4 @@
1616
"hexo": "^3.8.0",
1717
"serve": ">=7.0.0"
1818
}
19-
}
19+
}

website/themes/moderncpp/_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
site_description: "Modern C++ | C++ 11/14/17/20 On the Fly | 现代 C++ | 高速上手 C++11/14/17/20"
1+
site_description: "Modern C++ Tutorial | C++ 11/14/17/20 On the Fly | 现代 C++ 教程 | 高速上手 C++11/14/17/20"
22
google_analytics:
33
root_domain: changkun.de/modern-cpp
44
moderncpp_version: 2.0.0

website/themes/moderncpp/layout/index.ejs

+6-4
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@
1717
</div><div class="right">
1818
<h4>欧长坤 著</h4>
1919
<h1>
20-
高速上手<br>C++ 11/14/17/20
20+
现代 C++ 教程<br>
2121
</h1>
22-
<h2>第二版</h2>
22+
<h2>高速上手 C++ 11/14/17/20</h2>
23+
<h3>第二版</h3>
2324
<p>
2425
<a class="button white" href="<%- url_for("/modern-cpp/zh-cn/00-preface/") %>">🇨🇳 在线阅读</a>
2526
<a class="button download" href="<%- url_for("/modern-cpp/pdf/modern-cpp-tutorial-zh-cn.pdf") %>">🇨🇳 下载</a>
@@ -35,9 +36,10 @@
3536
</div><div class="right">
3637
<h4>Changkun Ou</h4>
3738
<h1>
38-
C++ 11/14/17/20<br>On the Fly
39+
Modern C++ Tutorial
3940
</h1>
40-
<h2>Second Edition</h2>
41+
<h2>C++ 11/14/17/20 On the Fly</h2>
42+
<h3>SECOND EDITION</h3>
4143
<p>
4244
<a class="button white" href="<%- url_for("/modern-cpp/en-us/00-preface/") %>">🇬🇧 Read Online</a>
4345
<a class="button download" href="<%- url_for("/modern-cpp/pdf/modern-cpp-tutorial-en-us.pdf") %>">🇬🇧 Download</a>

website/themes/moderncpp/layout/layout.ejs

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!DOCTYPE html>
44
<html lang="en">
55
<head>
6-
<title><%- page.title ? page.title : '' %> 高速上手 C++ 11/14/17/20 - C++ 11/14/17/20 On the Fly</title>
6+
<title><%- page.title ? page.title : '' %> 现代 C++ 教程: 高速上手 C++ 11/14/17/20 - Modern C++ Tutorial: C++ 11/14/17/20 On the Fly</title>
77
<meta charset="utf-8">
88
<meta name="description" content="<%- theme.site_description %>">
99
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
@@ -24,12 +24,12 @@
2424
</head>
2525
<body class="<%- isIndex ? '' : 'docs' -%>">
2626
<% if (page.type == 'book-en-us') { %>
27-
<div id="mobile-bar" data-bg-text="C++ 11/14/17/20 On the Fly" <%- isIndex ? 'class="top"' : '' %>>
27+
<div id="mobile-bar" data-bg-text="Modern C++ Tutorial" <%- isIndex ? 'class="top"' : '' %>>
2828
<a class="menu-button"></a>
2929
<a class="logo" href="/modern-cpp/"></a>
3030
</div>
3131
<% } else {%>
32-
<div id="mobile-bar" data-bg-text="高速上手 C++ 11/14/17/20" <%- isIndex ? 'class="top"' : '' %>>
32+
<div id="mobile-bar" data-bg-text="现代 C++ 教程" <%- isIndex ? 'class="top"' : '' %>>
3333
<a class="menu-button"></a>
3434
<a class="logo" href="/modern-cpp/"></a>
3535
</div>

website/themes/moderncpp/layout/partials/header.ejs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<a id="logo" href="<%- url_for("/modern-cpp/") %>">
33
<% if (page.type == 'book-en-us') { %>
44
<img src="<%- url_for("/modern-cpp/assets/cover-2nd-en.png") %>">
5-
<span>C++ 11/14/17/20 On the Fly</span>
5+
<span>Modern C++ Tutorial: C++ 11/14/17/20 On the Fly</span>
66
<% } else {%>
77
<img src="<%- url_for("/modern-cpp/assets/cover-2nd.png") %>">
8-
<span>高速上手 C++ 11/14/17/20</span>
8+
<span>现代 C++ 教程:高速上手 C++ 11/14/17/20</span>
99
<% } %>
1010
</a>
1111
<ul id="nav">

0 commit comments

Comments
 (0)