質問編集履歴
5
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,8 +12,8 @@
|
|
12
12
|
{
|
13
13
|
"name": "Mac",
|
14
14
|
"includePath": [
|
15
|
+
"${workspaceFolder}/**",
|
15
|
-
"/opt/homebrew/include/**"
|
16
|
+
"/opt/homebrew/include/**"
|
16
|
-
"${workspaceFolder}/**"
|
17
17
|
],
|
18
18
|
"defines": [],
|
19
19
|
"macFrameworkPath": [],
|
4
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -3,8 +3,7 @@
|
|
3
3
|
を読み込ませようとすると、
|
4
4
|
'bits/stdc++.h' file not found
|
5
5
|
と、エラーが出力されてしまします。
|
6
|
-
-rw-r--r-- 1 ******** admin 3421 2 7 15:13 ```ここに言語を入力
|
7
|
-
/opt/homebrew/include/bits/stdc++.h
|
6
|
+
lrwxr-xr-x 1 **** admin 85 2 8 18:15 ./include/bits/stdc++.h -> /opt/homebrew/Cellar/gcc/11.2.0_3/include/c++/11/aarch64-apple-darwin21/bits/stdc++.h
|
8
7
|
ファイルが存在することは、確認済みです。
|
9
8
|
|
10
9
|
その他設定の問題でしょうか。
|
3
改善
test
CHANGED
File without changes
|
test
CHANGED
@@ -3,27 +3,27 @@
|
|
3
3
|
を読み込ませようとすると、
|
4
4
|
'bits/stdc++.h' file not found
|
5
5
|
と、エラーが出力されてしまします。
|
6
|
+
-rw-r--r-- 1 ******** admin 3421 2 7 15:13 ```ここに言語を入力
|
6
|
-
|
7
|
+
/opt/homebrew/include/bits/stdc++.h
|
7
8
|
ファイルが存在することは、確認済みです。
|
8
9
|
|
9
10
|
その他設定の問題でしょうか。
|
10
|
-
|
11
|
-
**は半角で設定しています
|
12
|
-
{
|
11
|
+
```{
|
13
12
|
"configurations": [
|
14
13
|
{
|
15
14
|
"name": "Mac",
|
16
15
|
"includePath": [
|
17
|
-
"${workspaceFolder}/**,
|
18
|
-
"/opt/homebrew/include/
|
16
|
+
"/opt/homebrew/include/**",
|
17
|
+
"${workspaceFolder}/**"
|
19
18
|
],
|
20
19
|
"defines": [],
|
21
20
|
"macFrameworkPath": [],
|
22
21
|
"compilerPath": "/opt/homebrew/bin/g++",
|
23
|
-
"cStandard": "
|
22
|
+
"cStandard": "gnu17",
|
24
|
-
"cppStandard": "
|
23
|
+
"cppStandard": "gnu++14",
|
25
24
|
"intelliSenseMode": "macos-gcc-arm64"
|
26
25
|
}
|
27
26
|
],
|
28
27
|
"version": 4
|
29
28
|
}
|
29
|
+
```
|
2
誤記
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
m1macでvscodeを使用する際に、c_cpp_prp
|
1
|
+
m1macでvscodeを使用する際に、c_cpp_properties.jsonを下記のように設定していますが
|
2
2
|
#include <bits/stdc++.h>
|
3
3
|
を読み込ませようとすると、
|
4
4
|
'bits/stdc++.h' file not found
|
1
誤記
test
CHANGED
File without changes
|
test
CHANGED
@@ -8,13 +8,14 @@
|
|
8
8
|
|
9
9
|
その他設定の問題でしょうか。
|
10
10
|
|
11
|
+
**は半角で設定しています
|
11
12
|
{
|
12
13
|
"configurations": [
|
13
14
|
{
|
14
15
|
"name": "Mac",
|
15
16
|
"includePath": [
|
16
|
-
"${workspaceFolder}/
|
17
|
+
"${workspaceFolder}/**,
|
17
|
-
"/opt/homebrew/
|
18
|
+
"/opt/homebrew/include/**"
|
18
19
|
],
|
19
20
|
"defines": [],
|
20
21
|
"macFrameworkPath": [],
|