delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/16/11:07:20

From: Sanda AT 97 DOT gyarab DOT cz
To: djgpp AT delorie DOT com
Date: Wed, 16 Jun 1999 10:21:47 +0100
Subject: iostream.cc
X-mailer: Pegasus Mail v3.41 (NDS, preview)
Message-ID: <1209C942EC9@gyarab.cz>
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019