由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - C++ Error Questions
相关主题
How to resolve "terminate called after throwing an instance of 'std::bad_alloc'???请教关于allocator member function 的问题
effective C++里的memory pool 一问:在子函数内开内存,返回主函数指针然后释放空间是不是很糟糕的(转载)
why do we still use dynamic allocation?关于C/C++里的Static variable的memory allocation/initializa
关于内存泄漏什么是OS Memory management and heap structure?
C++一个string的小问题[合集] A question about multidimensional arrays in C++!!
C++ Interview QuestionRe: godly C++ programmers needed
内存分配问题问个问题 (转载)
a small question about c++ memory allocation问个简单的memory allocation 的问题。
相关话题的讨论汇总
话题: questions话题: c++话题: error话题: alloc话题: terminate
进入Programming版参与讨论
1 (共1页)
l********s
发帖数: 358
1
Hey folks, I got the following errors when running my program:
terminate called after throwing an instance of 'std::bad_alloc' what():
St9bad_alloc
Does it mean that my code run out of memory, and it just simply terminate,
since it cann't allocate memory any more?
Thanks.
k****f
发帖数: 3794
2
内存错了。

【在 l********s 的大作中提到】
: Hey folks, I got the following errors when running my program:
: terminate called after throwing an instance of 'std::bad_alloc' what():
: St9bad_alloc
: Does it mean that my code run out of memory, and it just simply terminate,
: since it cann't allocate memory any more?
: Thanks.

1 (共1页)
进入Programming版参与讨论
相关主题
问个简单的memory allocation 的问题。C++一个string的小问题
如何在fortran中定义一个动态的数组?C++ Interview Question
What is the difference between operator new and the new内存分配问题
如何在VC++下把raw图像快速写到硬盘里呢?a small question about c++ memory allocation
How to resolve "terminate called after throwing an instance of 'std::bad_alloc'???请教关于allocator member function 的问题
effective C++里的memory pool 一问:在子函数内开内存,返回主函数指针然后释放空间是不是很糟糕的(转载)
why do we still use dynamic allocation?关于C/C++里的Static variable的memory allocation/initializa
关于内存泄漏什么是OS Memory management and heap structure?
相关话题的讨论汇总
话题: questions话题: c++话题: error话题: alloc话题: terminate