block-quote On this pagechevron-down
copy Copy chevron-down
Getting started π¦ QIC templateQ.I.C Template Wiki Welcome to the Q.I.C Template Wiki! This page will guide you through setting up and running the Q.I.C Database Library template. Follow the steps below to get started.
Getting Started
Step 1: Clone the Repository
Clone the repository to your local machine by running the following command:
Copy git clone https://github.com/Hrodebert17/QIC-template This will download all the files needed to start using the Q.I.C template.
Step 2: Compile
You can compile using CMake, just do
Step 3: Run the Program
After compiling, run the program with the following command:
You should see output reflecting the creation of a database, a table, and the addition of records,
Step 4: Modify and Experiment
Open the main.cpp file and edit the example code to experiment with the following:
Add new tables with custom schemas.
Insert records into tables.
Retrieve and display table contents.
Explore other features of the Q.I.C library.
Features Demonstrated in the Template
Creating a Table The included example demonstrates how to create a table named COMPANY with the following schema:
Inserting Records Example records are inserted into the COMPANY table.
Saving Changes All in-memory changes are saved to the database file using the save() function.
Last updated 11 months ago