Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 27-05-2010, 10:19 AM   #1 (permalink)
Apprentice
 
Join Date: Nov 2005
Location: una
Posts: 55
Post A simple Database in C++


Dear Friends,

I want to make a simple database for my Mom's School which will include Adding basic information, displaying information, deleting information. I want to use file input & output with notepad..
Does using loop solves this..?
Also i have tried this but it overwrites the previous information.
Please suggest me a link or any idea.

Thanks in advance.
bluetooth is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 27-05-2010, 10:26 AM   #2 (permalink)
Always confused
 
vamsi360's Avatar
 
Join Date: May 2008
Location: Mandriva Control Center
Posts: 349
Default Re: A simple Database in C++

use Qt with MySQL or

command line and MySQLC++ driver at MYSQL website.

All the best!
__________________
Vamsi Subhash
visit my blog at www.vamsisubhash.co.cc and taste a bit of IT!
vamsi360 is offline  
Old 27-05-2010, 10:50 AM   #3 (permalink)
Sami Hyypiä, LFC legend
 
Liverpool_fan's Avatar
 
Join Date: Jun 2007
Location: Нью-Дели
Posts: 2,138
Default Re: A simple Database in C++

^ Wouldn't MySQL be an overkill?
I think SQLite would be more suitable.
__________________
Experience true education in Computer Science - http://www.udacity.com | http://www.coursera.org

Spoiler:
Read before asking / messaging any moderator for any query: FAQ + answers for new members

Read all the sticky threads before asking any type of query. Most basic questions are answered in those.
Don't use forum for chatting. Visit http://webchat.freenode.net/?channels=krow, enter nick and connect.
Liverpool_fan is offline  
Old 27-05-2010, 01:02 PM   #4 (permalink)
Always confused
 
vamsi360's Avatar
 
Join Date: May 2008
Location: Mandriva Control Center
Posts: 349
Smile Re: A simple Database in C++

Quote:
Originally Posted by Liverpool_fan View Post
^ Wouldn't MySQL be an overkill?
I think SQLite would be more suitable.
He clearly mentioned it that the app is for a school and schools are big with hundreds of students. Hence I suggested MySQL.

Plus the drivers for MySQL are easily available and I have experience working with them.
__________________
Vamsi Subhash
visit my blog at www.vamsisubhash.co.cc and taste a bit of IT!
vamsi360 is offline  
Old 28-05-2010, 03:10 PM   #5 (permalink)
Apprentice
 
Join Date: Nov 2005
Location: una
Posts: 55
Default Re: A simple Database in C++

See guys, my mom's school is not a very big school. I do not have any experience in SQL, I know only basic commands in SQL. I just asked how to do it in C++..Pls..
bluetooth is offline  
Old 29-05-2010, 06:40 AM   #6 (permalink)
Ron
||uLtiMaTE WinNER||
 
Ron's Avatar
 
Join Date: Nov 2006
Location: Kathmandu,Nepal
Posts: 698
Default Re: A simple Database in C++

Use fstreams and class to insert and manipulate data in C++. I made a computerised billing software using file handling in c++ and it run quite succesfully.

If you dont know file handling than use php. It is quite easy.By the way wht r u requirements. I may help you.

---------- Post added at 06:40 AM ---------- Previous post was at 06:38 AM ----------

====
No loop will not help you. You must deal with structures and classes
__________________
||uLtiMaTE WinNER||
Ron is offline  
Old 30-05-2010, 03:37 PM   #7 (permalink)
Apprentice
 
Join Date: Nov 2005
Location: una
Posts: 55
Default Re: A simple Database in C++

@Ron If u can help me..pls help...I know a bit about file handling in C++ not that in detail..my requirements are very basic like student's name, address, phone number, admission date, withdrawal date..So please help me if you can..

Last edited by bluetooth; 30-05-2010 at 03:42 PM.
bluetooth is offline  
Old 30-05-2010, 09:17 PM   #8 (permalink)
Ron
||uLtiMaTE WinNER||
 
Ron's Avatar
 
Join Date: Nov 2006
Location: Kathmandu,Nepal
Posts: 698
Default Re: A simple Database in C++

Quote:
Originally Posted by bluetooth View Post
@Ron If u can help me..pls help...I know a bit about file handling in C++ not that in detail..my requirements are very basic like student's name, address, phone number, admission date, withdrawal date..So please help me if you can..
Of course i can help you. We are here to help each others. Mail me all your requirements so that i can start the project as soon as possible. By the way when do u need the project? Coz i cant start the project immediately. I am engaged with some personal works and in addition to that i am preparing for my sat exam which is on 5th june.

If you are in too hurry thn i will give u the outlines and some tips to use the class and file handling. Personally i feel instead of working with c++ using sql with php will be more easy and reliable....In which school do you study?
__________________
||uLtiMaTE WinNER||
Ron is offline  
Old 31-05-2010, 09:20 PM   #9 (permalink)
Apprentice
 
Join Date: Nov 2005
Location: una
Posts: 55
Default Re: A simple Database in C++

@Ron Thanks. I have sent u the mail I which I have written all the information you may need. I am not in a hurry. You can work at your own convenience. I have just passed out in +2. And sorry for giving you problems if it happens because of me.
bluetooth is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Database Admirer Of Digit Software Q&A 12 14-06-2010 11:41 PM
Need a simple GIF maker INS-ANI Software Q&A 1 25-05-2010 06:22 AM
Help needed in uploading aspx page and database sravan Software Q&A 2 23-02-2010 03:20 PM
One Giant Command Line MetalheadGautham Open Source 23 24-05-2008 02:31 AM
Extensions and Their Definitions Sparsh007 QnA (read only) 3 28-11-2006 07:25 PM

 
Latest Threads
- by Charan
- by Charan
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 03:18 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2