Re: libpq++ compiling errors...

From: jtv <jtv(at)xs4all(dot)nl>
To: isaac flemmin <isaac(at)knox(dot)net>
Cc: "'Oliver Elphick'" <olly(at)lfix(dot)co(dot)uk>, pgsql-interfaces(at)postgresql(dot)org
Subject: Re: libpq++ compiling errors...
Date: 2002-01-31 18:22:17
Message-ID: 20020131192216.A134@xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

On Wed, Jan 30, 2002 at 12:52:48AM -0800, isaac flemmin wrote:
>
> I do know that I have included <string.h> for other programs, and that
> it does not have anything to do with C++ Strings.

Right. <string.h> is for the C string manipulation functions. The
C++ string type is defined in <string>.

Also note that depending on your compiler (and compiler version), the
standard string type may be known as just "string", or as the more
modern "std::string".

Jeroen

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Jeff Young 2002-01-31 19:09:19 timestamp Format on Binary Cursor
Previous Message Tom Lane 2002-01-31 18:14:51 Re: pgAdmin II's error message