diff --git a/document_en/appendix.md b/document_en/appendix.md index 29e3c78..4807af1 100644 --- a/document_en/appendix.md +++ b/document_en/appendix.md @@ -17,8 +17,8 @@ The easiest way is to put `atcoder` folder in the same place as `main.cpp` and e If you don't want to copy `atcoder` folder manually, do as follows. -- Specify the command like `g++ main.cpp -std=c++14 -I /path/to/ac-library/atcoder`. -- 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`. +- 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). +- 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`. ### Visual Studio diff --git a/document_ja/appendix.md b/document_ja/appendix.md index 8f52716..6d00bfa 100644 --- a/document_ja/appendix.md +++ b/document_ja/appendix.md @@ -17,8 +17,8 @@ `atcoder`フォルダをいちいちコピーしたくない場合は以下のような方法があります。 -- `g++ main.cpp -std=c++14 -I /path/to/ac-library/atcoder`のように指定する。 -- 環境変数 `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`とコンパイルできる。 +- `g++ main.cpp -std=c++14 -I /path/to/ac-library`のように指定する (`/path/to/ac-library` は自分のPCの `ac-library` を置いてある場所へ書き換えてください)。 +- 環境変数 `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`とコンパイルできる。 ### Visual Studioへのインストール方法