From: Michael Schuster Newsgroups: comp.os.msdos.djgpp Subject: c++ Q: string and String class Date: Mon, 16 Nov 1998 12:35:35 +0100 Organization: Regionales Rechenzentrum Erlangen, Germany Lines: 20 Message-ID: <36500E07.6316EF42@eev.e-technik.uni-erlangen.de> NNTP-Posting-Host: eev6.e-technik.uni-erlangen.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.05 [de] (Win95; I) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi ! I've had a problem with the string classes when updating the compiler version to 2.8.1. I found - after reading the mail archieve- that there is a STL string class ("string") and a Gnu string class "String" which I was using the time before the update. When linking a prog using "string" I can compile and link with gxx.exe but using Gnu's "String" I got a linker error (undefined references). My questions: 1. How can I link the Gnu "String class" (so I can use my old code) 2. What is the maijor difference between them. Any help is welcome. Thanks in advance Gruesse Michi