Skip to content

Commit

Permalink
Merge pull request #28 from ganchuanman/main
Browse files Browse the repository at this point in the history
feature:补充3.7节翻译
  • Loading branch information
hanxiaomax authored Dec 7, 2024
2 parents 793436a + 7986ee2 commit c7e7723
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 69 deletions.
2 changes: 1 addition & 1 deletion docs/1-5-Introduction-to-iostream-cout-cin-and-endl.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ And that's all, folks!

## std:: cin

`std::cin` 是 `isstream` 中预定义的另外一个变量。与用于输出的 `std::cout` 不同, `std::cin`(表示字符输入,“character input”) 配合提取运算符(`>>`),可以从键盘读取输入。当然,输入的结果必须存放在变量中才可以被使用。
`std::cin` 是 `iostream` 中预定义的另外一个变量。与用于输出的 `std::cout` 不同, `std::cin`(表示字符输入,“character input”) 配合提取运算符(`>>`),可以从键盘读取输入。当然,输入的结果必须存放在变量中才可以被使用。

```cpp
#include <iostream> // for std::cout and std::cin
Expand Down
Loading

0 comments on commit c7e7723

Please sign in to comment.