ive been trying to connect my c program and a postgre database using VC++. but i cant compile it because it cant find "postgres_fe.h". and also i cant find any tutorials about this one too. When i searched google, most are for linux. if anyone here knows some links to a site pls post here. any help will be greatly appreciated.
Covinus
21
Junior Poster
Recommended Answers
Jump to PostAre you allowed to use third party API's in your project? If so, then try using sqlapi, a C++ library for connecting to SQL databases.
Jump to PostAh, scrap the sqlapi, it just offers a trial version unless you order it, so I guess it is out.
The only option left with you is to download the API provided by PostgreSQL instead.
All 8 Replies
~s.o.s~
2,560
Failure as a human
Team Colleague
Featured Poster
Covinus
21
Junior Poster
Covinus
21
Junior Poster
~s.o.s~
2,560
Failure as a human
Team Colleague
Featured Poster
pty
882
Posting Pro
Covinus
21
Junior Poster
Covinus
21
Junior Poster
~s.o.s~
commented:
Thanks for the follow up, would help some other beginner.
+21
~s.o.s~
2,560
Failure as a human
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.