delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/23/05:01:17

Message-ID: <20000623075319.92846.qmail@hotmail.com>
X-Originating-IP: [208.160.246.197]
From: "Nimrod Abing" <n_abing AT hotmail DOT com>
To: djgpp AT delorie DOT com
Cc: heavier AT hotmail DOT com
Subject: Re: Problems with String class
Date: Fri, 23 Jun 2000 15:53:18 PHT
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com

>From: Heavy <heavier AT hotmail DOT com>
>Reply-To: djgpp AT delorie DOT com
>To: djgpp AT delorie DOT com
>Subject: Problems with String class
>Date: Thu, 22 Jun 2000 18:02:37 GMT
>
>Hi, I'm having a problem using the c++ string library, specifically, the
>String class in _string.h.  When I compile my code (with _string.h
>#included) it seems to compile fine until the link stage, when I get
>about a million "undefined reference to String::someMethod".
>
>I have been compiling properly (I think) because all other c++ stuff
>seems to link fine (i.e. iostream.h, fstream.h, etc) but for some
>reason, the linker can't find the String implemenation. I am using
>gxx.exe, so I don't think that's the problem, is there some specific
>library I need to link with my program? Or is there no implementation at
>all for the String class? Or is there some other problem I'm overlooking
>entirely...
>
>Thanks for any help you can give me,
>
>Heavy
>heavier AT hotmail DOT com

You are using the libgpp library, libgpp is not actively developed
anymore, see the FAQ for details. Use the STL version of string class,
included with gxx.

----------------
_nimrod_a_abing_


------------------------------------------
Homepage: http://www.geocities.com/n_abing

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

- Raw text -


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