-
December 1st, 2009, 03:04 PM
#1
Saving Program State
Hey guys is it possible to make a console app with a database? or is there an easier way of doing this.
Ok say i have a list of things i need to get:
Eggs
Milk
Chicken
Pear
Gurkins etc
if i make the app display them as a list and say i have gotten the eggs maybe i will type in:
Got Eggs and then it will delete them so for example if i restart the app to show me the list it will show what i have except the eggs.
Hope someone can help and sorry for the randomness lol
-
December 1st, 2009, 03:12 PM
#2
Re: Saving Program State
Sounds like a simple text file would do.
-
December 1st, 2009, 03:19 PM
#3
Re: Saving Program State
Thanks for teh fast reply do u have any good links u i could learn how to create, Read, Update and delete CRUD
-
December 1st, 2009, 04:09 PM
#4
Re: Saving Program State
Originally Posted by JonnySnip3r
Hey guys is it possible to make a console app with a database?
Yes, that's what the APIs are for
Look uphttp://en.wikipedia.org/wiki/Flat_file_database
and
http://www.cplusplus.com/reference/iostream/fstream/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|