[INTERFACES] in pgconnection.h (?) - Mailing list pgsql-interfaces

From Richard
Subject [INTERFACES] in pgconnection.h (?)
Date
Msg-id 3857E1DB.9DC3C3E3@sfu.ca
Whole thread Raw
List 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
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


pgsql-interfaces by date:

Previous
From: Michael Meskes
Date:
Subject: Re: [INTERFACES] Oops: ecpg changes <> to = (not good)
Next
From: Mike Mascari
Date:
Subject: Re: [INTERFACES] in pgconnection.h (?)