LoginSignup
0
0

More than 3 years have passed since last update.

C言語 コンパイル

Last updated at Posted at 2020-11-21

windowでC言語のコードをテストするときは、WSLを使用。
Cドライブ内で実行するときは、ディレクトリを移動。

準備 インストール

・WLS (Windows Subsystem for Linux)
・WLS に gcc をインストール

コマンド

cd /mnt/c/Users/NAME/Desktop/test

gcc -o test test.c && ./test
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0