Skip site navigation (1) Skip section navigation (2)

[INTERFACES] <string> in pgconnection.h (?)

From: Richard <blackw(at)sfu(dot)ca>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: [INTERFACES] <string> in pgconnection.h (?)
Date: 1999-12-15 18:45:47
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
I'm putting together my first C++ pgsql client program and have run into
a snag.  I #include <pgdatabase.h>, but when I compile, I get a message

   /usr/include/pgsql/libpq++/pgconnection.h:24: string: No such file or

Looking in pgconnection.h, I see

   #include <string>

(Call me old-fashioned, but I thought us C hacks had agreed to use ".h"
when naming our include files.)  Later on in the file I see the

   string IntToString(int);

Now, I assume that "string" is a class.  But where would I find the
header file "string"?

Thanks in advance for clarifying what is clearly !obvious to me.

Richard Blackwell


pgsql-interfaces by date

Next:From: Mike MascariDate: 1999-12-15 21:09:39
Subject: Re: [INTERFACES] <string> in pgconnection.h (?)
Previous:From: Michael MeskesDate: 1999-12-15 07:03:30
Subject: Re: [INTERFACES] Oops: ecpg changes <> to = (not good)

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group