From: Richard <blackw@sfu.ca>
To: pgsql-interfaces@postgresql.org
Subject: [INTERFACES] <string> in pgconnection.h (?)
Date: Wed, 15 Dec 1999 10:45:47 -0800
Message-ID: <3857E1DB.9DC3C3E3@sfu.ca> (raw)
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
saying
/usr/include/pgsql/libpq++/pgconnection.h:24: string: No such file or
directory
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
declaration
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.
Cheers,
Richard Blackwell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: blackw@sfu.ca
Subject: Re: [INTERFACES] <string> in pgconnection.h (?)
In-Reply-To: <3857E1DB.9DC3C3E3@sfu.ca>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox