https://github.com/nanda-gopal-sb/quotes-cpp
A quotes generator in C++
https://github.com/nanda-gopal-sb/quotes-cpp
cpp quotes sqlite terminal utility
Last synced: 29 days ago
JSON representation
A quotes generator in C++
- Host: GitHub
- URL: https://github.com/nanda-gopal-sb/quotes-cpp
- Owner: nanda-gopal-sb
- Created: 2025-02-20T12:56:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-17T07:03:09.000Z (about 1 year ago)
- Last Synced: 2025-05-17T08:18:53.252Z (about 1 year ago)
- Topics: cpp, quotes, sqlite, terminal, utility
- Language: C++
- Homepage:
- Size: 7.67 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## A Simple Quotes Generator
### Description
This project is a simple quotes generator written in C++. It uses an SQLite3 database to store and retrieve quotes.
### Installation
To run this project, ensure you have the SQLite3 library installed on your system. You can install it using the following commands:
```sh
sudo apt-get update
sudo apt-get install sqlite3 libsqlite3-dev
```
### Usage
1. Clone the repository:
```sh
git clone https://github.com/nanda-gopal-sb/quotes-cpp
cd quotes
```
2. Compile the project:
```sh
g++ -o quotes_generator main.cpp -lsqlite3
```
3. Run the executable:
```sh
./quotes_generator
```
### References
- [Kaggle Quotes Dataset](https://www.kaggle.com/datasets/manann/quotes-500k) - This project uses the Kaggle dataset containing 500k quotes.