Thread: Looking for guidance for file I/O... databases...

  1. #1
    Registered User
    Join Date
    Oct 2008
    Posts
    98

    Looking for guidance for file I/O... databases...

    What I want to achieve is a program that saves/remembers data I input so that if I close my program and come back later it remembers the things I've entered in the past.

    My best guess is the way to do it is file i/o and assembling some sort of database? I have barely any knowledge about file i/o so if anyone has a link or can suggest where to start that would be excellent.

    I know how to store data for a single run, my problem is I want to save that data somehow.

  2. #2
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,268
    Use sqlite. It's an easy to use database library, which can be embedded in your c++ application.

  3. #3
    Registered User
    Join Date
    Oct 2008
    Posts
    98
    Quote Originally Posted by bithub View Post
    Use sqlite. It's an easy to use database library, which can be embedded in your c++ application.
    This is very interesting I'm looking at it now, thanks!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Raw I/O vs. Stream I/O
    By NuNn in forum C Programming
    Replies: 1
    Last Post: 03-17-2009, 08:32 AM
  2. Buffered/UnBuffered I/O
    By valaris in forum C Programming
    Replies: 1
    Last Post: 08-06-2008, 11:31 PM
  3. asynchronized I/O == multiplexing I/O?
    By George2 in forum C Programming
    Replies: 1
    Last Post: 07-24-2006, 10:06 AM
  4. why page based I/O can improve performance?
    By George2 in forum C Programming
    Replies: 1
    Last Post: 06-12-2006, 07:42 AM
  5. Overlapped I/O and Completion Port :: Winsock
    By kuphryn in forum Windows Programming
    Replies: 0
    Last Post: 10-30-2002, 05:14 PM