Skip to content

•It is a command-line contact management system designed to showcase object-oriented design, data structures (Trie) using C++

License

Notifications You must be signed in to change notification settings

Sourabh-Kumar7/Trie-Enhanced-ContactManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastContacts

FastContacts is a simple command-line contact management system implemented in C++. It provides basic functionalities like adding contacts, searching for contacts, and saving the contacts to a JSON file. This project is designed to showcase fundamental concepts of C++ programming, including object-oriented design, data structures (trie), file I/O, and usage of third-party libraries (JsonCpp).

Why FastContacts?

FastContacts aims to serve as a practical example for C++ learners and developers looking to understand and implement a basic command-line application. It demonstrates concepts such as class design, data storage using a trie data structure, and JSON file manipulation. This project can be used as a foundation for building more complex contact management systems or as a learning resource for C++ programming.

Key Concepts Covered

  1. Object-Oriented Design: The project employs object-oriented principles to model entities like contacts and the contact manager.

  2. Trie Data Structure: The trie data structure is used for efficient storage and retrieval of contacts based on their names.

  3. File I/O: Contacts are saved and loaded from a JSON file using the JsonCpp library, demonstrating basic file input/output operations.

  4. Exception Handling: The code includes error handling mechanisms, such as checking file open status and handling exceptions appropriately.

How to Run FastContacts

To run FastContacts, follow these steps:

  1. Clone the repository:
    git clone https://github.com/Sourabh-Kumar7/FastContacts.git
    cd FastContacts
  2. Build the project:
    mkdir build
    cd build
    cmake ..
    make//github.com/Sourabh-Kumar7/FastContacts.git
    cd FastContacts
  3. Run FastContacts:
    ./FastContacts
    

How to Contribute

Contributions to FastContacts are welcome! If you find any issues or have suggestions for improvements, please:

  1. Fork the repository.
  2. Create a new branch for your changes.
  3. Make your modifications.
  4. Submit a pull request.

Show Your Support

If you find FastContacts helpful or interesting, consider giving it a star! Your support is appreciated and encourages further development.

Thank you for exploring FastContacts!

About

•It is a command-line contact management system designed to showcase object-oriented design, data structures (Trie) using C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published