Thread: Database

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    176

    Database

    I was wondering whats the best way to make a database? to be able to call up certain info and save it? ect.
    If a mime dies in the woods and no one is around to hear it, does it make a sound?

  2. #2
    Dump Truck Internet valis's Avatar
    Join Date
    Jul 2005
    Posts
    357
    This library not only implements a nice api but also gives some insight on databases http://www.sqlite.org/

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    176
    ok, thanks ill look into that
    If a mime dies in the woods and no one is around to hear it, does it make a sound?

  4. #4
    Registered User
    Join Date
    Jul 2005
    Posts
    33
    another way, less organized, is using the fstream... I've had good luck with it, mind to you that this is only for fun use... but you can set it up to look professional. Basically, you write it to a text file using fstream.

  5. #5
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    I like using binary files.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  6. #6
    Registered User
    Join Date
    Jul 2005
    Posts
    33
    interesting... i havent tried that yet

  7. #7
    Registered User
    Join Date
    Mar 2003
    Posts
    176
    i have used fstream a bit, but say i want to have the user enter a bunch of info saved into dif. variable and i want it to print what is stored in those variables and able to be edited and such
    If a mime dies in the woods and no one is around to hear it, does it make a sound?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. literature database: help with planning
    By officedog in forum C++ Programming
    Replies: 1
    Last Post: 01-23-2009, 12:34 PM
  2. Creating a database
    By Shamino in forum Game Programming
    Replies: 19
    Last Post: 06-10-2007, 01:09 PM
  3. Replies: 10
    Last Post: 05-18-2006, 11:23 PM
  4. Developing database management software
    By jdm in forum C++ Programming
    Replies: 4
    Last Post: 06-15-2004, 04:06 PM
  5. Making a Simple Database System
    By Speedy5 in forum C++ Programming
    Replies: 1
    Last Post: 03-14-2003, 10:17 PM