回答編集履歴
1
C\+\+の間違い修正。
test
CHANGED
@@ -28,31 +28,21 @@
|
|
28
28
|
|
29
29
|
```cpp
|
30
30
|
|
31
|
-
//test.
|
31
|
+
//test.hpp
|
32
32
|
|
33
33
|
#ifndef test_hpp
|
34
34
|
|
35
35
|
#define test_hpp
|
36
36
|
|
37
|
+
extern int cppHoge;
|
37
38
|
|
38
|
-
|
39
|
-
e
|
39
|
+
#endif /* test_hpp */
|
40
40
|
|
41
41
|
|
42
42
|
|
43
|
-
#endif /* test_hpp */
|
44
|
-
|
45
|
-
```
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
```cpp
|
50
|
-
|
51
|
-
//test.
|
43
|
+
//test.cpp
|
52
44
|
|
53
45
|
#include "test.hpp"
|
54
|
-
|
55
|
-
|
56
46
|
|
57
47
|
int cppHoge = 999;
|
58
48
|
|