C++ Program to store username and password.

I am a beginner in C++. I want to write a program, that when entered username and password, it remembers it, and the next time when I run the program it should show that User, with the option to login with that user.
====================
Example
====================
1st time running the code:
--------
1st Window
--------
Enter Username: xyz
Enter Password: (anything)
--------
2nd Windows
--------
Welcome XYZ !
=====================
2nd time running the code
----------
1st Window
----------
1)Login as XYZ
2)New User
----------
2nd Window(if selected to login as XYZ)
----------
Welcome XYZ
-----------
2nd Window(New User)
-----------
Enter New Username And Password

>>>>>>THE PROGRAM HAS TO BE MADE ON TURBO C++<<<<<<

All the help provided will be further appreciated

Thank you in advance
Last edited on
Thank You So Much @ebucna
Topic archived. No new replies allowed.