|
我编那个代码的目的是想把符合条件的数据保存到一个文本,但是程序执行到第705次时,就出现段错误了,明明有数据的,就是不能写入,下面是调试的出错信息,麻烦高手看看:
Program received signal SIGSEGV, Segmentation fault.
0x0014bd8d in vfprintf () from /lib/libc.so.6
(gdb) bt
#0 0x0014bd8d in vfprintf () from /lib/libc.so.6
#1 0x00154b6e in fprintf () from /lib/libc.so.6
#2 0x0804916d in fsettle::deal (this=0xbff1eb07) at fsettle.cpp:151
#3 0x08049a12 in main () at fsettle.cpp:38
(gdb) |
|