🚩Quick start
Here’s how to get started with Q.I.C in a matter of minutes!
#include "qic.h"
#include <iostream>
#include <filesystem>
int main() {
// Create a database instance
data_base db;
// Open an existing database file
std::filesystem::path dbPath = "mydatabase.db";
db.open_database(dbPath);
std::cout << "Database opened successfully!" << std::endl;
// Close the database
db.close();
std::cout << "Database closed and saved!" << std::endl;
return 0;
}
Last updated