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

This is a discussion on Looking for guidance for file I/O... databases... within the C++ Programming forums, part of the General Programming Boards category; What I want to achieve is a program that saves/remembers data I input so that if I close my program ...

  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,261
    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, 09:32 AM
  2. Buffered/UnBuffered I/O
    By valaris in forum C Programming
    Replies: 1
    Last Post: 08-07-2008, 12:31 AM
  3. asynchronized I/O == multiplexing I/O?
    By George2 in forum C Programming
    Replies: 1
    Last Post: 07-24-2006, 11:06 AM
  4. why page based I/O can improve performance?
    By George2 in forum C Programming
    Replies: 1
    Last Post: 06-12-2006, 08: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21