Mail Archives: djgpp/1999/06/16/11:07:20
Hello
I got a following problem...
When i trace my cc programs, rhide gdb wants to trace into c++
library, natably all cout and such operations. For this I need
iostream.cc which is nowhere to be found. Can anyone please tell me,
how can i force the debugger to skip over that lib or what archive is
iostream.cc in. I know i could F8skip the call, but the is not the
case with inline macro...:(
Another thing: Can you tell me how to do doubly linked list which can
keep information of a current node and which for instance deletes
var. that pointed to it if some a->kill() is called.
Something like :
class LIST{
LIST *next,*last;
BASE *specific_data;
public:
//some constructor of course...
int next();
int last();
//add(BASE* newdata);
BASE *operator(){return specific_data;};
};
main()
{
LIST *a=new LIST;
a->add();
a->add();
a->add();
a->last();
(*a)()->set_scale(32);//(*a)()VERY INCONVINIENT
}
Is such a thing possible?
I've made such a thing possible, but it's only possible to declare it
by pointer and it has other mistakes too? I know that there are
container classes in c++, but these don't do this kind of work THIS
way.
David Sanda
- Raw text -