質問編集履歴
1
エラーコード
test
CHANGED
File without changes
|
test
CHANGED
@@ -64,8 +64,18 @@
|
|
64
64
|
|
65
65
|
for (int i=0;i<n;i++){
|
66
66
|
|
67
|
-
|
67
|
+
dst[i] = src[n - (i+1)];
|
68
68
|
|
69
69
|
}
|
70
70
|
|
71
71
|
}
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
エラーメッセージ
|
76
|
+
|
77
|
+
/usr/bin/ld: /tmp/ccnhcU0l.o: in function `main':
|
78
|
+
|
79
|
+
5-9.cpp:(.text+0xf2): undefined reference to `reverse(char const*, char*)'
|
80
|
+
|
81
|
+
collect2: error: ld returned 1 exit status
|