回答編集履歴

2

回答に追記

2020/10/03 05:01

投稿

y_waiwai
y_waiwai

スコア87784

test CHANGED
@@ -7,3 +7,11 @@
7
7
 
8
8
 
9
9
  'output_name2'が定義されていない、と言うエラーです
10
+
11
+
12
+
13
+ > file.cpp:88:53: error: cannot convert 'std::__cxx11::string {aka std::__cxx11::basic_string<char>}' to 'const char*' for argument '1' to 'std::__cxx11::string path_thread2(const char*)'
14
+
15
+
16
+
17
+ 関数の引数の型があっていない、と言うエラーです

1

回答に追記

2020/10/03 05:01

投稿

y_waiwai
y_waiwai

スコア87784

test CHANGED
@@ -1 +1,9 @@
1
1
  C++なら、Stringで渡していけばいいんでは
2
+
3
+
4
+
5
+ > file.cpp:88:9: error: 'output_name2' was not declared in this scope
6
+
7
+
8
+
9
+ 'output_name2'が定義されていない、と言うエラーです