Skip to content

Aditya-tec/mini-database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

This program, Database_in_C++, is a console-based application designed to manage a simple database of people. It offers functionality to add, display, save, load, search, and remove entries from the database. The program is written in C++ and utilizes basic file handling to save and load data.

Features

  1. Add Person: Users can add new individuals to the database by providing their name, surname, age, and telephone number.
  2. Show All People: Displays a list of all individuals currently stored in the database along with their details.
  3. Save to File: Enables users to save the current state of the database to a file named database.txt.
  4. Load from File: Allows users to load previously saved data from the database.txt file into the database.
  5. Search Database: Provides functionality to search for individuals in the database by their name.
  6. Remove Person: Enables users to remove an individual from the database based on their index.

Usage

  1. Compilation: Compile the program using any C++ compiler.
  2. Execution: Run the compiled executable. The program will display a menu with options for different operations.
  3. Operations: Select an option by entering the corresponding number. Follow the on-screen prompts to complete each operation.
  4. Saving and Loading: Use options 3 and 4 to save to and load from the database.txt file respectively.
  5. Exiting: Press the ESC key to exit the program.

Notes

  • The program can store information for up to 20 people.
  • Ensure correct input while removing a person to avoid errors.
  • Saved data is stored in the database.txt file in the same directory as the program.

About

As the name suggests :)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages