質問編集履歴
1
元コードの 記載ミス修正 と 発生しているエラーの情報等の追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,9 +18,9 @@
|
|
18
18
|
|
19
19
|
|
20
20
|
|
21
|
-
if (st.find("image") != string::npos)
|
21
|
+
if (st.find("image") != string::npos) {
|
22
22
|
|
23
|
-
|
23
|
+
MessageBox(NULL, wStrC, "Yahoo", MB_OK);
|
24
24
|
|
25
25
|
}
|
26
26
|
|
@@ -43,3 +43,51 @@
|
|
43
43
|
|
44
44
|
|
45
45
|
回答 よろしく お願い致します
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
Windows 7
|
54
|
+
|
55
|
+
VC++ 2017
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
【エラーメッセージ】
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
(137): error C2001: 定数が 2 行目に続いています。
|
64
|
+
|
65
|
+
(139): error C2059: 構文エラー: '}'
|
66
|
+
|
67
|
+
(140): error C2059: 構文エラー: '}'
|
68
|
+
|
69
|
+
(141): error C2059: 構文エラー: '}'
|
70
|
+
|
71
|
+
(138): error C2146: 構文エラー: ')' が、識別子 'MessageBoxA' の前に必要です。
|
72
|
+
|
73
|
+
(138): error C2146: 構文エラー: ';' が、識別子 'MessageBoxA' の前に必要です。
|
74
|
+
|
75
|
+
(138): error C2429: 言語機能 'if/switch の init-statements' にはコンパイラ フラグ '/std:c++latest' が必要です
|
76
|
+
|
77
|
+
(138): error C2143: 構文エラー: ')' が ';' の前にありません。
|
78
|
+
|
79
|
+
(139): error C2059: 構文エラー: ')'
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
137行は
|
84
|
+
|
85
|
+
if (st.find("image") != string::npos) {
|
86
|
+
|
87
|
+
です
|
88
|
+
|
89
|
+
140行と 141行は ともに
|
90
|
+
|
91
|
+
}
|
92
|
+
|
93
|
+
です
|