Skip to content

Commit 941b0c2

Browse files
committed
fix #2: fix CPLUS_INCLUDE_PATH and fix URL of screenshot
1 parent 54f7f17 commit 941b0c2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

document_en/appendix.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ The easiest way is to put `atcoder` folder in the same place as `main.cpp` and e
1717

1818
If you don't want to copy `atcoder` folder manually, do as follows.
1919

20-
- Specify the command like `g++ main.cpp -std=c++14 -I /path/to/ac-library/atcoder`.
21-
- Specify the place of `atcoder` folder by the environment variable `CPLUS_INCLUDE_PATH` as `CPLUS_INCLUDE_PATH="/path/to/ac-library/atcoder"`. (On Windows, type like `C:\path\to\ac-library\atcoder` in the field of the variable `CPLUS_INCLUDE_PATH` on the [Window of Environment Variables](https://img.atcoder.jp/practice2/01333b7c5575b09b5868376ef242aa52.png). Note that, you should use backthrashes, not thrashes.) Then, you can compile just by `g++ main.cpp -std=c++14`.
20+
- Specify the command like `g++ main.cpp -std=c++14 -I /path/to/ac-library` (`/path/to/ac-library` stands for the directory where the downloaded ac-library is located).
21+
- Specify the place of `atcoder` folder by the environment variable `CPLUS_INCLUDE_PATH` as `CPLUS_INCLUDE_PATH="/path/to/ac-library"`. (On Windows, type like `C:\path\to\ac-library` in the field of the variable `CPLUS_INCLUDE_PATH` on the [Window of Environment Variables](https://img.atcoder.jp/practice2/01333b7c5575b09b5868376ef242aa52.png). Note that, you should use backthrashes, not thrashes.) Then, you can compile just by `g++ main.cpp -std=c++14`.
2222

2323
### Visual Studio
2424

document_ja/appendix.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818
`atcoder`フォルダをいちいちコピーしたくない場合は以下のような方法があります。
1919

20-
- `g++ main.cpp -std=c++14 -I /path/to/ac-library/atcoder`のように指定する。
21-
- 環境変数 `CPLUS_INCLUDE_PATH` で、`CPLUS_INCLUDE_PATH="/path/to/ac-library/atcoder"`のように`atcoder`フォルダの場所を指定する。(Windowsの場合は、[ユーザー環境変数の設定画面](https://www.k-cube.co.jp/wakaba/server/images/environ.jpg) で、変数の欄に `CPLUS_INCLUDE_PATH` 値の欄に `C:\path\to\ac-library\atcoder` などと入力する。スラッシュではなくバックスラッシュを用いることに注意。なお、バックスラッシュは環境によっては円記号として表示されることがあります)。すると普通に`g++ main.cpp -std=c++14`とコンパイルできる。
20+
- `g++ main.cpp -std=c++14 -I /path/to/ac-library`のように指定する (`/path/to/ac-library` は自分のPCの `ac-library` を置いてある場所へ書き換えてください)
21+
- 環境変数 `CPLUS_INCLUDE_PATH` で、`CPLUS_INCLUDE_PATH="/path/to/ac-library"`のように`atcoder`フォルダの場所を指定する。(Windowsの場合は、[ユーザー環境変数の設定画面](https://img.atcoder.jp/practice2/01333b7c5575b09b5868376ef242aa52.png) で、変数の欄に `CPLUS_INCLUDE_PATH` 値の欄に `C:\path\to\ac-library` などと入力する。スラッシュではなくバックスラッシュを用いることに注意。なお、バックスラッシュは環境によっては円記号として表示されることがあります)。すると普通に`g++ main.cpp -std=c++14`とコンパイルできる。
2222

2323
### Visual Studioへのインストール方法
2424

0 commit comments

Comments
 (0)