A C++ application for managing contacts and custom tables (future functions will be added), leveraging SQLite for efficient data storage and retrieval.
-
Compile the Program: Make sure SQLite is installed and linked. Compile with the following command:
g++ -std=c++17 -o YourProgram db.cpp -lsqlite3
-
Execute the Binary:
./YourProgram
- C++17 Compiler (e.g., GCC, Clang)
- SQLite3
- Standard C++ Libraries
- Add Contact: Prompt for name and phone number, then store in the
contactstable. - View Contacts: Display all stored contacts.
- Delete Contact: Remove a contact based on the provided name.
- Add Table: Create a new custom table with specified columns.
- Open Table: Interact with an existing table to add, view, or delete rows.
- Delete Table: Remove an existing table and its data from the database.
- Exit: Close the application.
- Create and manage custom tables dynamically.
- Add, update, and delete records with ease.
- View table contents in a neatly formatted console output.
Feel free to fork, modify, and send pull requests to contribute to this project!
This project is open-sourced under the MIT License.
For queries and suggestions, feel free to open an issue.
Happy Coding! 💻




