Skip to content

A simple C++ console-based Security System with features like user registration, login, and password change using file handling.

License

Notifications You must be signed in to change notification settings

diyaaghosh/Security-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Security System in C++

A simple terminal-based Security System written in C++ that allows users to:

  • Register (only if age ≥ 18)
  • Login with credentials
  • Change password
  • Exit

User credentials (username, password, age) are stored in a local file (File.txt).


Features

  • Register with validation for minimum age (18+)
  • Login with username, password, and age verification
  • Secure password change functionality
  • User data stored in file for persistence
  • Password is masked when displayed (not shown in plain text)

How to Run

  1. Make sure you have a C++ compiler (e.g., g++) installed.
  2. Compile and run the program:
g++ security_system.cpp -o security_system
./security_system

On windows

g++ security_system.cpp -o security_system.exe
security_system.exe

About

A simple C++ console-based Security System with features like user registration, login, and password change using file handling.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages