www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/16/06:50:45

From: Michael Schuster <Schuster AT eev DOT e-technik DOT uni-erlangen DOT de>
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
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

- Raw text -


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