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 28-01-2009, 04:58 PM   #1 (permalink)
Apprentice
 
dashang's Avatar
 
Join Date: May 2007
Posts: 99
Default I have Bank management program which doesnt save


I have created Bank Management program. The problem is that it is not saving. If we add record then it should save.. but after restarting the data gets erased , there is no database in our program. I dont know how to create database and connect it with my program please TELL ME HOW TO DO???
Attached Files
File Type: zip bank-management.zip (124.7 KB, 3 views)
__________________
visit my site: www.techdrome.blogspot.com
dashang is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 28-01-2009, 07:06 PM   #2 (permalink)
हॉर्न ओके प्लीज़
 
victor_rambo's Avatar
 
Join Date: Sep 2007
Posts: 1,493
Default Re: I have Bank management program which doesnt save

Wow! this is the first time I am coming across a program that cannot update records but thinks that it can "Manage Banks"

Prolly, you meant that you are attempting to create

BTW use Google, I think its a pretty basic thing on using DB engines in your program. Have a look at SQLite or something similar.

Learn the basic DB layer first because here onwards, almost every application you will create in future WILL have a DB!
__________________
विक्टर रॅंबो - चाणकया प्रभावित व्यक्ति

गीक होना माँगता
victor_rambo is offline  
Old 28-01-2009, 08:59 PM   #3 (permalink)
The Smaller Bang
 
MetalheadGautham's Avatar
 
Join Date: Sep 2007
Location: Gautham City
Posts: 7,492
Wink Use A Datafile

Use a datafile to save data members.
__________________
http://TheSmallerBang.wordpress.com
eMachines E725 - T4400 2.2GHz, 1GB, 160GB
Nokia 5130XM * T-Sonic 610 2GB
Nokia 2323C * Samsung Galaxy Y
Apple iPad 2 16GB WiFi
MetalheadGautham is online now  
Old 29-01-2009, 08:11 AM   #4 (permalink)
Apprentice
 
dashang's Avatar
 
Join Date: May 2007
Posts: 99
Default Re: I have Bank management program which doesnt save

Atleast give me the link for sql lite. My sir told using ms-access would be easier . Do you know how to do

the program saves in text file [not in tables] . The first thing is that to create table like records. Please view my Attachment and then reply . You will understand more what i want and looking for
__________________
visit my site: www.techdrome.blogspot.com

Last edited by dashang; 29-01-2009 at 09:13 AM. Reason: Automerged Doublepost
dashang is offline  
Old 29-01-2009, 03:01 PM   #5 (permalink)
हॉर्न ओके प्लीज़
 
victor_rambo's Avatar
 
Join Date: Sep 2007
Posts: 1,493
Default Re: I have Bank management program which doesnt save

Don't use MS-Access, its the slowest of the DBs! Instead go for MySQL!
Also, if you are going for a file based storage, then I suggest you look into XML.

On the other hand, I think you should go for DB storage rather than text file storage!
__________________
विक्टर रॅंबो - चाणकया प्रभावित व्यक्ति

गीक होना माँगता
victor_rambo is offline  
Old 29-01-2009, 04:03 PM   #6 (permalink)
The Smaller Bang
 
MetalheadGautham's Avatar
 
Join Date: Sep 2007
Location: Gautham City
Posts: 7,492
Default Re: I have Bank management program which doesnt save

To use a DB storage, you need to first learn how to use SQL.

So as an interim measure I suggest you use file storage. Its just a simple matter of going to www.cplusplus.com and learning how to use fstream objects and learning to love the read() and write() functions of C++ standard library.
__________________
http://TheSmallerBang.wordpress.com
eMachines E725 - T4400 2.2GHz, 1GB, 160GB
Nokia 5130XM * T-Sonic 610 2GB
Nokia 2323C * Samsung Galaxy Y
Apple iPad 2 16GB WiFi
MetalheadGautham is online now  
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
Edison - Save Energy to save Earth lywyre Technology News 1 07-08-2008 08:28 PM
Title Save: Add-on For Firefox to Save Pages with Page Title in File Names Vishal Gupta Software Q&A 9 12-10-2007 05:42 PM
HDFC BANK --- a bank which is becoming worst day-by-day vickyadvani Chit-Chat 18 29-07-2007 10:14 AM
new program in 'close program menu' list and more....... vishakadatta QnA (read only) 2 12-04-2005 11:33 PM
Windows Update doesnt Support FireFox sify doesnt digit foru Choto Cheeta Software Q&A 6 11-02-2005 03:45 PM

 
Latest Threads
- by gforz
- by soumya
- by Sujeet
- by icebags
- by Charan

Advertisement




All times are GMT +5.5. The time now is 03:06 PM.


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

Search Engine Optimization by vBSEO 3.3.2