Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Nov 1999 21:24:14 -0800 (PST)
From:      Tim <tim@ns2.megainfo.com>
To:        Harry Woodward-Clarke <Harry.Woodward-Clarke@s1.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: String.h
Message-ID:  <Pine.BSF.3.96.991121211427.15323A-100000@ns2.megainfo.com>
In-Reply-To: <3838BD34.7C28D972@S1.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Mon, 22 Nov 1999, Harry Woodward-Clarke wrote:

> Tim wrote:
> > I am trying to port some software compiled with g++ 2.7.2.1 on FreeBSD
> > which uses the String.h library, but other operating systems such as
> > Solaris with g++ 2.95.1 do not have the String.h library.
> > 
> > Is the String.h a FreeBSD specific library or is it just one that is no
> > longer supported by GNU's compiler?
> > 
> Hmmm... interesting. My copy of K&R(2nd) says that <string.h> is part of
> the Standard Library... hey... wait a minute. When you type "String.h",
> your code really has "<string.h>" doesn't it? Not "<String.h>".
> 

Thanks for the reply, but I am referring to <String.h>
The lowercase one is for C programming and lacks the ability to say
string1=string2 + string3;

I know one can also #include <string>, but that one causes compile
problems unrelated to our C++ program.

String.h is present in /usr/include/g++ on FreeBSD machines.  I think it
used to be also present on older g++ releases, but I am not sure.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.991121211427.15323A-100000>