473,383 Members | 1,864 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

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.
Jul 19 '05 #1
5 1825


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



Jul 19 '05 #2
On Mon, 20 Oct 2003 02:09:58 -0400
"Sonoman" <fc*****@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
Jul 19 '05 #3
> 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.

Jul 19 '05 #4
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

Jul 19 '05 #5
Thank you for all the responses and I apologize for being off topic.
"Sonoman" <fc*****@cse.fau.edu> wrote in message
news:e_******************@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.

Jul 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: wimmie | last post by:
Hello to all, I have a 'small' problem. I have made a application in php that connect trough ODBC to a Oracle RDB (VMS) or Basis+ database (VMS) and present the data to a user. There are 2...
0
by: Hans Forbrich | last post by:
Section 1. Ballot: ------------------- 1.YES NO: I agree that there should be a periodic post describing the newsgroup charter and providing a FAQ on newsgroup usage. 2.MONTHLY BI-WEEKLY...
0
by: Hans Forbrich | last post by:
Section 1. Ballot: ------------------- 1.YES NO: I agree that there should be a periodic post describing the newsgroup charter and providing a FAQ on newsgroup usage. 2.MONTHLY BI-WEEKLY...
0
by: Mark Townsend | last post by:
Following is a summary of articles spanning a 7 day period, beginning at 23 Feb 2004 05:29:19 GMT and ending at 01 Mar 2004 04:12:14 GMT. Notes ===== - A line in the body of a post is...
1
by: puppet_sock | last post by:
I guess this is an architecture question. The question is: If I've got two (or more) Oracle databases, when does it make sense to integrate them into a single database, and when should they be...
0
by: Cara | last post by:
LAST CALL FOR VOTES (of 2) unmoderated group comp.databases.etl Newsgroups line: comp.databases.etl Extraction, transformation, loading issues. Votes must be received by 23:59:59 UTC, 12 Dec...
0
by: Cara Altman | last post by:
REQUEST FOR DISCUSSION (RFD) unmoderated group comp.databases.etl This is a formal Request For Discussion (RFD) for the creation of a world-wide unmoderated Usenet newsgroup...
2
by: edo | last post by:
100 Day Analysis Following is a summary of articles spanning a 100 day period, beginning at 10 Sep 2003 06:41:30 GMT and ending at 19 Dec 2003 04:09:06 GMT. Notes ===== - A line in the...
3
by: AK | last post by:
Hi Our product uses MS-SQL Server 2000. One of our customer has 10 installations with each installation stroring data in its own database. Now the customer wants to consolidate these databases...
7
by: dad | last post by:
REQ: any utilities for designing front-ends for databases
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.