hour10_2.txt

来自「《24学时精通c++》的随书源码的下半部分。欢迎下载学习。」· 文本 代码 · 共 20 行

TXT
20
字号
The using statement saves you some typing! Instead of having to code: 
   std::cout
you can code one line 
   using namespace std

or
   using std::cout

And 
   cout.

The same applies with std::endl and endl.

"\n" is the old C way of forcing the cursor to a new line. std::endl performs the
same action and is considered the more "modern" way of doing so. But it boils 
down to a matter of personal choice!



There is no real "solution" to this exercise...

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?