Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4b1181f

Browse files
committed
book: fix minor typo
1 parente784ed0 commit4b1181f

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

‎assets/wechat-group.jpg

9.15 KB
Loading

‎book/zh-cn/02-usability.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ constexpr int fibonacci(const int n) {
153153

154154
###if/switch 变量声明强化
155155

156-
在传统 C++ 中,变量的声明在虽然能够位于任何位置,甚至于`for` 语句内能够声明一个临时变量`int`,但始终没有办法在`if``switch` 语句中声明一个临时的变量。例如:
156+
在传统 C++ 中,变量的声明虽然能够位于任何位置,甚至于`for` 语句内能够声明一个临时变量`int`,但始终没有办法在`if``switch` 语句中声明一个临时的变量。例如:
157157

158158
```cpp
159159
#include<iostream>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp