Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3235354
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T17:29:49+00:00 2026-05-17T17:29:49+00:00

I decided to use SQLite as it allows to store database into a single

  • 0

I decided to use SQLite as it allows to store database into a single file. I think I have managed to do a database with SQLite Database Browser.

How can I read that data in a C/C++ program?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T17:29:50+00:00Added an answer on May 17, 2026 at 5:29 pm

    How about the ‘An Introduction to Sqlite C/C++ Interface‘, and there is a whole C++ example here on CodeProject.

    This is bits of the more full sample,

    #include "CppSQLite.h"
    #include <ctime>
    #include <iostream>
    using namespace std;
    const char* gszFile = "C:\\test.db";
    
    int main(int argc, char** argv)
    {
        try
        {
            int i, fld;
            time_t tmStart, tmEnd;
            CppSQLiteDB db;
    
            cout << "SQLite Version: " << db.SQLiteVersion() << endl;
    
            db.open(gszFile);
            cout << db.execScalar("select count(*) from emp;") 
                   << " rows in emp table in ";
            db.Close();
        }
        catch (CppSQLiteException& e)
        {
            cerr << e.errorCode() << ":" << e.errorMessage() << endl;
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been developing a site using ASP.NET MVC, and have decided to use the
I've been diving into Erlang recently, and I decided to use Mnesia to do
I've decided to use SQLite for my personal development project, because it just sprung
I am developing iPhone application using SQLite . I decided to use fmdb .
If I decided to use a library project in mine I still have to
Since black red tree is a binary search tree I have decided to use
I have to set up push cloud notification server. I decided to use: http://pypi.python.org/pypi/pyapns/
I decided to use log4net as a logger for a new webservice project. Everything
We decided to use the minimumRequiredVersion in our clickOnce application manifest, and now when
I decided to use LINQ to SQL in my personal project after hearing lots

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.