How to Program a Simple Login Form and User Registration Project Using C++ and MS Visual Studio!

preview_player
Показать описание
In this project we go through how to code a simple program that allows a user to make the selection to either register a new user or log into the program using existing credentials. The project uses several easy beginner C++ concepts including reading and writing to and from text files using the fstream module, and printing data to the terminal window and reading data back from the terminal using the IOStream module!

If you like this video be sure to leave a like and subscribe for tons more great content! Let me know in the comments if you have any questions or what you want so see more of!

If you want to support the channel in a BIG way feel fee to check out my Patreon link :)

Timestamps:
00:00 Intro and Showcase
01:39 Importing Modules and Project Setup
03:15 User selects whether to log in or register new user
04:59 Register a new user, write to a new text file
08:13 Log in as existing user
11:00 Creating the log in checker, reading from text files
15:45 Testing and project outro
Рекомендации по теме
Комментарии
Автор

I've done some openCV and Unreal engine tutorials in my free time.
Cool but then there's compilation time for everything.
One positive thing is that is very good to learn most of the basic concepts in C/C++
and then you understand why stuff is the way it is in Python(or other languages).

flioink
Автор

I wish if you can make a video on how to connect this log in with the database. So when the user log in, he can see his information or his account. Thank you 🌹

فيصل-هقه
Автор

Very clear, and great for beginners, cheers!

WhiteHairSharing
Автор

i request you to make this project with OOP mainly eith the inheritance concept

esibites
Автор

When I purposely put the wrong password and had to retry the file didn't store my previous information

NicholasForester-qg
Автор

Loved this soo much it definitely helped!!

nataliagrace
Автор

For the registering a user part, how can i check if theres already an existing username (so check for a text file im guessing)?

zavierteo-xc
Автор

is it possible to include all accounts in an array of structures (made of username and password) and then in a file? if yes, how can we do it?

yomnahachem