4
Contributors
5
Replies
7
Views
6 Years
Discussion Span
Last Post by jackmaverick1
0

In place of data base you can use an encrypted flat file to store/verify username and password.

Edited by sundip: n/a

0

In place of data base you can use an encrypted flat file to store/verify username and password.

Sorry I am a true begginer to programing and that stuff, so I have no idea how to do what you said :(

0

In that case you need to learn to crawl before attempting to run in the Olympics. Learn the c++ language from the beginning. Its not something you can learn in an hour or two -- probably takes several months to learn just the basics well depending on how fast you learn and how much time you are willing to put into it.

0

In that case you need to learn to crawl before attempting to run in the Olympics. Learn the c++ language from the beginning. Its not something you can learn in an hour or two -- probably takes several months to learn just the basics well depending on how fast you learn and how much time you are willing to put into it.

I was trying to find some good C++ education but didn't find any good, if you could recommend some it would be great, the best would be video tutorials for learning.

Regards

0

well, once you get to the point where you can do this, you can try making a class that has members like

string username;
string password;
string tryUser;
string tryPass;
//also have a function that will login you in.
void loginIn()
{
cout << "Enter your username: ";
cin >> tryUser;
cout << "Enter your password";
cin >> tryPass;
if(tryUser == username && tryPass == password)
{
cout << "Thanks for loging in";
}

however, to login multiple users on a single machine- that might take some thinking to do easily.

Best of luck,
jt

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.