質問編集履歴
2
五次
test
CHANGED
File without changes
|
test
CHANGED
@@ -68,11 +68,9 @@
|
|
68
68
|
|
69
69
|
40 double G1, G2;
|
70
70
|
|
71
|
-
41 double z_o1,
|
71
|
+
41 double z_o1,z_w1;
|
72
72
|
|
73
|
-
42 double z_w1, z_w2;
|
74
|
-
|
75
|
-
43 double d1
|
73
|
+
43 double d1;
|
76
74
|
|
77
75
|
|
78
76
|
|
@@ -98,7 +96,7 @@
|
|
98
96
|
|
99
97
|
57 fgets(moji,N,fin_G);
|
100
98
|
|
101
|
-
58 rep(i, skip1)
|
99
|
+
58 rep(i, skip1) //for i=0 i < skip i++
|
102
100
|
|
103
101
|
59 {
|
104
102
|
|
1
五次
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
コアダンプを直したい(fgets,fscanf,fprintf)
|
test
CHANGED
@@ -42,23 +42,23 @@
|
|
42
42
|
|
43
43
|
(gdb) **bt**
|
44
44
|
|
45
|
-
.#0 0x00007f619eb
|
45
|
+
.#0 0x00007f619eb in ?? () from /lib64/libstdc++.so.6
|
46
46
|
|
47
|
-
.#1 0x00007f619eb
|
47
|
+
.#1 0x00007f619eb in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() ()
|
48
48
|
|
49
49
|
from /lib64/libstdc++.so.6
|
50
50
|
|
51
|
-
.#2 0x00007f619e1
|
51
|
+
.#2 0x00007f619e1 in __run_exit_handlers () from /lib64/libc.so.6
|
52
52
|
|
53
|
-
.#3 0x00007f619e1
|
53
|
+
.#3 0x00007f619e1 in exit () from /lib64/libc.so.6
|
54
54
|
|
55
|
-
.#4 0x00007f619e1
|
55
|
+
.#4 0x00007f619e1 in __libc_start_main () from /lib64/libc.so.6
|
56
56
|
|
57
|
-
.#5 0x00000000004
|
57
|
+
.#5 0x00000000004 in _start ()
|
58
58
|
|
59
59
|
### 該当のソースコード
|
60
60
|
|
61
|
-
|
61
|
+
```c++
|
62
62
|
|
63
63
|
35 #define N 256
|
64
64
|
|
@@ -148,6 +148,8 @@
|
|
148
148
|
|
149
149
|
98 return 0;
|
150
150
|
|
151
|
+
```
|
152
|
+
|
151
153
|
|
152
154
|
|
153
155
|
### 補足情報(FW/ツールのバージョンなど)
|