[help]i need a tutorial on database, using postgresql as server and c++ as the client

Didn't think about that..
@loveburns, if you have no knowledge of MySQL databse handling and network connections in C++, why write a server? You should learn before you dive right into the advanced stuff.

cuz i've got a paperwork, create a mmorpg database and a client...
all of my classmate is have one too, but differently...
my database is ready, up and running, but my client dont...
any help on how to setup the client?

below is some of my c++ client db class that i tried to built by just looking at some mysql database c++ demo, is it correct or what?
i really2 need help on this guys...
 

Attachments

  • untitled - [help]i need a tutorial on database, using postgresql as server and c++ as the client - RaGEZONE Forums
    untitled.webp
    30.7 KB · Views: 44
How are we supposed to know if it's right? Those are only definitions and stuff..

You'll probably serve well with this library:
PostgreSQL: Documentation: Manuals: PostgreSQL 7.2: libpq++ - C++ Binding Library

Not sure how old this is, but here's another tutorial for using that library:
libpq - C Library - SQL Database Reference Material - Learn sql, read an sql manual, follow an sql tutorial, or learn how to structure an SQL query!


Edit: Please don't grab&post the entire program either, none of us can be bothered to do your assignment for you.
 
Last edited:
How are we supposed to know if it's right? Those are only definitions and stuff..

You'll probably serve well with this library:
PostgreSQL: Documentation: Manuals: PostgreSQL 7.2: libpq++ - C++ Binding Library

Not sure how old this is, but here's another tutorial for using that library:
libpq - C Library - SQL Database Reference Material - Learn sql, read an sql manual, follow an sql tutorial, or learn how to structure an SQL query!


Edit: Please don't grab&post the entire program either, none of us can be bothered to do your assignment for you.


i'm so sorry if i ever offended you guys with my stupid question...
thnx for the tutorial...
i'm looking at the tutorial atm, i'll let u guys know how it works...
 
Back