Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions document_en/appendix.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions document_ja/appendix.md
Original file line number Diff line number Diff line change
Expand Up @@ -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へのインストール方法

Expand Down