Go Back   CodingForums.com > :: Computing & Sciences > Computer Programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-07-2007, 01:45 PM   PM User | #1
mike_tw
New Coder

 
Join Date: Apr 2007
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
mike_tw is an unknown quantity at this point
Database management program - C++?

Hi,

I've been using access to manage a database. It works ok, but I would much prefer if it were a stand alone program which I could customise to the company in question. I dont like having to load access all the time.

MY question is, can C++ manage a database, I need to be able to delete , update and add records for example.

Im fairly good with PHP and MySQL, but i've never attempted to build a program from scratch using languages like C++. Is C++ the language for me to do this ?

Access works great but it doesnt look professional to me. I'd much rather have a a custom built application interfacing with my database.

Any advice will be really appreciated!
mike_tw is offline   Reply With Quote
Old 10-07-2007, 02:04 PM   PM User | #2
Mwnciau
Regular Coder

 
Join Date: May 2006
Location: Wales
Posts: 820
Thanks: 1
Thanked 82 Times in 79 Posts
Mwnciau is on a distinguished road
If you're fairly good at PHP and MYSQL I would recommend using that to manage the database, and the interface can be designed in HTML. C++ can manage a database just as well as PHP and MYSQL, but it would probably be more complicated.
Mwnciau is offline   Reply With Quote
Old 10-07-2007, 03:11 PM   PM User | #3
mike_tw
New Coder

 
Join Date: Apr 2007
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
mike_tw is an unknown quantity at this point
I'd rather not make it web based. I also want the experience of building a desktop application

Diolch
mike_tw is offline   Reply With Quote
Old 10-07-2007, 04:08 PM   PM User | #4
marek_mar
Sensei


 
Join Date: Aug 2003
Location: One step ahead of you.
Posts: 2,815
Thanks: 0
Thanked 3 Times in 3 Posts
marek_mar is on a distinguished road
Quote:
Originally Posted by mike_tw View Post
MY question is, can C++ manage a database, I need to be able to delete , update and add records for example.
Guess what language is used to write databases? It is C/C++. MySQL releases a C library that is the MySQL client (There is a C++ one available as well). PHP uses that library to connect to MySQL servers.
You could also use some application frameworks that support database access (Qt, wxWidgets).
__________________
I'm not sure if this was any help, but I hope it didn't make you stupider.

Experience is something you get just after you really need it.
PHP Installation Guide Feedback welcome.
marek_mar is offline   Reply With Quote
Old 10-07-2007, 07:10 PM   PM User | #5
oracleguy
Rockstar Coder


 
Join Date: Jun 2002
Location: USA
Posts: 9,042
Thanks: 1
Thanked 322 Times in 318 Posts
oracleguy is a jewel in the roughoracleguy is a jewel in the roughoracleguy is a jewel in the rough
MySql++ is a good C++ wrapper library for the MySQL C API.
__________________
OracleGuy
oracleguy is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:19 AM.


Advertisement
Log in to turn off these ads.