std::bad_alloc

2006-08-14 Thread Gary Wessle
Hi I am getting this error when running a very similar code like the below, it is made for illustration only. thanks *** error (gdb) n terminate called after throwing an instance of 'std::bad_alloc' what(): St9bad_alloc Pr

Re: std::bad_alloc

2006-08-14 Thread Paul Pluzhnikov
Gary Wessle <[EMAIL PROTECTED]> writes: > I am getting this error when running a very similar code like the > below, it is made for illustration only. Good for you. Did you have a question we can help you with? Guessing that the question was "why does it crash like that?", the answer is: - eith