delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/07/23:03:50

From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: using libgpp class
Date: Sat, 31 May 1997 11:43:28 -0400
Organization: Cornell University http://www.cornell.edu
Lines: 23
Sender: asu1 AT cornell DOT edu (Verified)
Message-ID: <33904720.5B38@cornell.edu>
References: <199705311021 DOT LAA12700 AT gold DOT ac DOT uk>
Reply-To: asu1 AT cornell DOT edu
NNTP-Posting-Host: cu-dialup-0072.cit.cornell.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Georgi Boshnakov wrote:
> 
> I tried to use class String from the libgpp library by including > <String.h>. this didn't work. I searched quite extensively through the 
> documentation but was not able to find hints about header files 
> necessary for specific classes
> (surely I am missing something).

string.h is the ANSI C header. i think you need to include just string;
i.e.

#include <string>

-- 
   Sinan
 
*******************************************************************
 A. Sinan Unur                                WWWWWW
                                              |--O+O
 mailto:sinan DOT unur AT cornell DOT edu                C   ^ 
 http://www.people.cornell.edu/pages/asu1/     \  ~/ 

Unsolicited e-mail is _not_ welcome, and will be billed for.
*******************************************************************

- Raw text -


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