Skip to content

prathu013/CodeAlpha_Login_and_Registration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Login and Registration System in C++

This project is a simple login and registration system implemented in C++. It demonstrates basic user authentication using file handling.

Features

  • User Registration: Allows new users to create an account.
  • User Login: Allows existing users to log in with their credentials.
  • Help Menu: Provides instructions on how to use the system.
  • Loading Animation: A simple visual cue during operations.

How to Run

  1. Compile the Code: To compile the code, use a C++ compiler. For example, using g++:
    g++ -o login_system login_system.cpp
    

Usage

Upon running the program, you will see the following menu:

---------------------------------------------------------------------------------------
                 _______           _______           _______          _______          
               //       \\       //        \\      //       \\      //       \\        
               |  Login  |       | Register |      |  Exit   |      |  Help   |        
               \\       //       \\        //      \\       //      \\       //        
                 _______           _______           _______          _______          
---------------------------------------------------------------------------------------
1. Login
2. Register
3. Exit
4. Help

Options:

Login: Enter your username and password to log in. Register: Enter a new username and password to register. Exit: Exit the program. Help: Display the help menu with instructions.

Example Output:

Registration:

image

Login:

image

Error Messages

1.Username already exists:

Username already exists

2.Invalid username or password:

Invalid username or password

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages