質問するログイン新規登録

質問編集履歴

9

タイトルの変更

2020/09/29 15:18

投稿

退会済みユーザー
title CHANGED
@@ -1,1 +1,1 @@
1
- 【fatal error】cのコンパイルがCreateProcess: No such file or directとなり出来ない。
1
+ gccのコンパイルがfatal errorとなり出来ない。
body CHANGED
File without changes

8

修正

2020/09/29 15:18

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -38,9 +38,5 @@
38
38
  解決策が分かる方がいらっしゃったら、回答してもらえると嬉しいです。
39
39
 
40
40
  ###追記
41
- 下記のサイトを参考にし、Pathが通っている事までは確認できました。
42
- https://webkaru.net/clang/mingw-gcc-environments/
43
-
44
- しかし、下記のページにある方法でgccのコンパイルをすると、fatal error: cannot execute 'as': CreateProcess: No such file or directory compilation terminated.
41
+ Pathが通っている事までは確認できまた。しかし、gccのコンパイルをすると、fatal error: cannot execute 'as': CreateProcess: No such file or directory compilation terminated.
45
- となり、コンパイルできません。
42
+ となり、コンパイルする事はできませんでした
46
- https://webkaru.net/clang/mingw-gcc-hello-world/

7

誤字

2020/09/29 14:55

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -41,6 +41,6 @@
41
41
  下記のサイトを参考にし、Pathが通っている事までは確認できました。
42
42
  https://webkaru.net/clang/mingw-gcc-environments/
43
43
 
44
- しかし、下記のgccのコンパイルをすると、fatal error: cannot execute 'as': CreateProcess: No such file or directory compilation terminated.
44
+ しかし、下記のページにある方法でgccのコンパイルをすると、fatal error: cannot execute 'as': CreateProcess: No such file or directory compilation terminated.
45
45
  となり、コンパイルできません。
46
46
  https://webkaru.net/clang/mingw-gcc-hello-world/

6

タイトルの変更

2020/09/29 14:22

投稿

退会済みユーザー
title CHANGED
@@ -1,1 +1,1 @@
1
- Visual Studio Codeでlaunch.jsonと出て、プログラミングの実行が出来ない
1
+ 【fatal error】cのコンパイルがCreateProcess: No such file or directなり出来ない
body CHANGED
@@ -35,4 +35,12 @@
35
35
  ```
36
36
 
37
37
  色々なサイトで調べてみたのですが、どうすれば自分の状況を解決できるかわからないで、一週間ほど経ちました。
38
- 解決策が分かる方がいらっしゃったら、回答してもらえると嬉しいです。
38
+ 解決策が分かる方がいらっしゃったら、回答してもらえると嬉しいです。
39
+
40
+ ###追記
41
+ 下記のサイトを参考にし、Pathが通っている事までは確認できました。
42
+ https://webkaru.net/clang/mingw-gcc-environments/
43
+
44
+ しかし、下記のgccのコンパイルをすると、fatal error: cannot execute 'as': CreateProcess: No such file or directory compilation terminated.
45
+ となり、コンパイルできません。
46
+ https://webkaru.net/clang/mingw-gcc-hello-world/

5

誤字

2020/09/29 14:20

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -20,7 +20,7 @@
20
20
  gcc.exe: fatal error: cannot execute 'as': CreateProcess: No such file or directory compilation terminated.
21
21
  ```
22
22
  また、"デバッグの開始"、"デバッグなしで実行"のどちらを選んでも、
23
- launch:program" does not exist.というメッセージが書かれ、下に"launch.jsonを開く"か"キャンセル"の二択のポップアップが出てきま
23
+ launch:program" does not exist.というメッセージが書かれ、下に"launch.jsonを開く"か"キャンセル"の二択のポップアップが出てきました
24
24
 
25
25
 
26
26
  また、Run Codeのボタン(Ctrl+Alt+N)を押すと、以下のようなメッセージが出てきました。

4

タグの追加

2020/09/29 12:49

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
File without changes

3

タイトルの修正

2020/09/29 12:47

投稿

退会済みユーザー
title CHANGED
@@ -1,1 +1,1 @@
1
- WindowsのPCでVisual Studio Codeを使っC言語をプログラミングする方法
1
+ Visual Studio Codeでlaunch.jsonと出プログラミングの実行が出来ない
body CHANGED
File without changes

2

文法の修正

2020/09/29 12:37

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -8,7 +8,7 @@
8
8
  ```C言語
9
9
  #include <stdio.h>
10
10
 
11
- int main(){
11
+ int main(void){
12
12
  printf("Hello World");
13
13
  return 0;
14
14
  }

1

誤字

2020/09/29 12:33

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -1,5 +1,5 @@
1
1
  ### 質問内容
2
- 私はwindowsのPCでVisual Studio CodeC言語を勉強したいと思い、インストール等したのですが、コードの実行が出来なくて悩んでいます。良かったら回答してください。
2
+ 私はwindowsのPCでVisual Studio Codeを使いC言語を勉強したいと思い、インストール等したのですが、コードの実行が出来なくて悩んでいます。良かったら回答してください。
3
3
 
4
4
  MinGWをインストールした後、環境変数のPathにC:\MinGW\binを作りました。その後、Visual Studio Codeをインストールし、Visual Studio Code内の拡張機能で"C/C++"と"Code Runner"をインストールしました。
5
5