| Topic: |
DEVELOP > c-Plus-Plus |
| User: |
"Sonoman" |
| Date: |
20 Oct 2003 01:09:58 AM |
| Object: |
C++ and databases question |
Hi all:
I am trying to find some information/tutorials on accessing a database (MS
access preferably because I have the software, or any other that I can get
for free) using C++, I prefer that the database is located on a server
because I cannot count on the user of my program to have it on his/her
system. It could also be a local or remote text file, but I think that would
be more complicated due to keys and headers and the such. I am absolutely
new to accessing databases with C++, but I only need a few examples to get
an idea and then I can do what I need to do.
If it helps I am trying to develop an address book that can be populated,
edited, etc. from a remote location. I also know a bit of ASP but I rather
use C++ because I want to learn the language.
I also want to run the program from an executable local to my system and NOT
the web. Any help would be greatly appreciated.
.
|
|
| User: "Ganesh" |
|
| Title: Re: C++ and databases question |
20 Oct 2003 07:22:27 AM |
|
|
I am trying to find some information/tutorials on accessing a database (MS
access preferably because I have the software, or any other that I can get
for free) using C++, I prefer that the database is located on a server
because I cannot count on the user of my program to have it on his/her
system. It could also be a local or remote text file, but I think that would
be more complicated due to keys and headers and the such. I am absolutely
new to accessing databases with C++, but I only need a few examples to get
an idea and then I can do what I need to do.
C/C++ ODBC APIs will allow C++ applications to access most of the
commonly available databases. Please consult the documentation of
Database on C/C++ client development. The development APIs and samples
for PostgreSQL can be found under
http://www.postgres.org/docs/7.3/interactive/libpq.html
-GK
If it helps I am trying to develop an address book that can be populated,
edited, etc. from a remote location. I also know a bit of ASP but I rather
use C++ because I want to learn the language.
I also want to run the program from an executable local to my system and NOT
the web. Any help would be greatly appreciated.
.
|
|
|
|
| User: "Socketd" |
|
| Title: Re: C++ and databases question |
20 Oct 2003 06:50:06 AM |
|
|
On Mon, 20 Oct 2003 02:09:58 -0400
"Sonoman" <fcarpio@cse.fau.edu> wrote:
Hi all:
I am trying to find some information/tutorials on accessing a database
(MS access preferably because I have the software, or any other that I
can get for free) using C++, I prefer that the database is located on
a server because I cannot count on the user of my program to have it
on his/her system. It could also be a local or remote text file, but I
think that would be more complicated due to keys and headers and the
such. I am absolutely new to accessing databases with C++, but I only
need a few examples to get an idea and then I can do what I need to
do.
www.wxwindows.org
br
socketd
.
|
|
|
|
| User: "Thomas Matthews" |
|
| Title: Re: C++ and databases question |
20 Oct 2003 07:38:37 AM |
|
|
Sonoman wrote:
Hi all:
I am trying to find some information/tutorials on accessing a database (MS
access preferably because I have the software, or any other that I can get
for free) using C++, I prefer that the database is located on a server
because I cannot count on the user of my program to have it on his/her
system. It could also be a local or remote text file, but I think that would
be more complicated due to keys and headers and the such. I am absolutely
new to accessing databases with C++, but I only need a few examples to get
an idea and then I can do what I need to do.
If it helps I am trying to develop an address book that can be populated,
edited, etc. from a remote location. I also know a bit of ASP but I rather
use C++ because I want to learn the language.
I also want to run the program from an executable local to my system and NOT
the web. Any help would be greatly appreciated.
Check the documentation that came with your compiler. Some compiler
packages have APIs or libraries that help access databases.
--
Thomas Matthews
C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book
http://www.sgi.com/tech/stl -- Standard Template Library
.
|
|
|
|
| User: "Bob Smith" |
|
| Title: Re: C++ and databases question |
20 Oct 2003 03:43:23 AM |
|
|
Sonoman wrote:
Hi all:
I am trying to find some information/tutorials on accessing a database (MS
access preferably because I have the software, or any other that I can get
for free) using C++, I prefer that the database is located on a server
because I cannot count on the user of my program to have it on his/her
system. It could also be a local or remote text file, but I think that would
be more complicated due to keys and headers and the such. I am absolutely
new to accessing databases with C++, but I only need a few examples to get
an idea and then I can do what I need to do.
If it helps I am trying to develop an address book that can be populated,
edited, etc. from a remote location. I also know a bit of ASP but I rather
use C++ because I want to learn the language.
I also want to run the program from an executable local to my system and NOT
the web. Any help would be greatly appreciated.
very ot
....but you might be interested in mysql and mysql++( for C++ ), and SQL
check out MySQL at www.mysql.com
/B
.
|
|
|
|
| User: "Sonoman" |
|
| Title: Re: C++ and databases question |
20 Oct 2003 10:37:28 AM |
|
|
Thank you for all the responses and I apologize for being off topic.
"Sonoman" <fcarpio@cse.fau.edu> wrote in message
news:e_Kkb.22001$h47.7017@bignews4.bellsouth.net...
Hi all:
I am trying to find some information/tutorials on accessing a database (MS
access preferably because I have the software, or any other that I can get
for free) using C++, I prefer that the database is located on a server
because I cannot count on the user of my program to have it on his/her
system. It could also be a local or remote text file, but I think that
would
be more complicated due to keys and headers and the such. I am absolutely
new to accessing databases with C++, but I only need a few examples to get
an idea and then I can do what I need to do.
If it helps I am trying to develop an address book that can be populated,
edited, etc. from a remote location. I also know a bit of ASP but I rather
use C++ because I want to learn the language.
I also want to run the program from an executable local to my system and
NOT
the web. Any help would be greatly appreciated.
.
|
|
|
|

|
Related Articles |
|
|