m*******s 发帖数: 22 | 1 Hi,
I wrote a c program, complied and ran with linux g++. It is no problem with
first 26 runs, I mean, I got the output which I want exactly. However, an
error message is got in the 27th run, that is:
terminate called after throwing an instance of 'std::bad_alloc'
what(): St9bad_alloc
Aborted
Anyone has an idea about how to solve this problem? Thanks a lot. | G*B 发帖数: 57 | 2 Means you are running out of memory... |
|