Skip to content
This repository was archived by the owner on Jan 27, 2021. It is now read-only.

Commit d085451

Browse files
author
Chen Xiaowei
committed
1. update 10-2
1 parent 4abc93c commit d085451

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/chapter10/chapter10-2-chinese.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
}
6666
```
6767

68-
7. 编译并运行代码,将会得到如下的输出。`current_path()`会返回我笔记本上的加目录,因为我在这个路径下执行的程序。相对路径`p`会通过 `absolute_path``system_complete``canonical`预先进行准备。我们能看到`absolute_path``system_complete`的结果都一样,因为我使用的是Mac系统。在使用Windows操作系统的机器上,`system_complete`将会前置一个`C:`,或者是工作路径的磁盘盘符:
68+
7. 编译并运行代码,将会得到如下的输出。`current_path()`会返回我笔记本上的HOME目录,因为我在这个路径下执行的程序。相对路径`p`会通过 `absolute_path``system_complete``canonical`预先进行准备。我们能看到`absolute_path``system_complete`的结果都一样,因为我使用的是Mac系统。在使用Windows操作系统的机器上,`system_complete`将会前置一个`C:`,或者是工作路径的磁盘盘符:
6969

7070
```c++
7171
$ ./canonical_filepath

0 commit comments

Comments
 (0)