1,105,546 Community Members

Login system in Console C++

Member Avatar
electrox73
Newbie Poster
12 posts since Jan 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

Ok, I have no idea how to make this becuase I need to be able to update the Name & Password database for the Web or somewhere else.

Regards

Member Avatar
sundip
Junior Poster
103 posts since Aug 2010
Reputation Points: -3 [?]
Q&As Helped to Solve: 24 [?]
Skill Endorsements: 1 [?]
 
0
 

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

Member Avatar
electrox73
Newbie Poster
12 posts since Jan 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
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 :(

Member Avatar
Ancient Dragon
Achieved Level 70
27,637 posts since Aug 2005
Reputation Points: 5,232 [?]
Q&As Helped to Solve: 3,037 [?]
Skill Endorsements: 115 [?]
Team Colleague
Featured
Sponsor
 
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.

Member Avatar
electrox73
Newbie Poster
12 posts since Jan 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
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

Member Avatar
jackmaverick1
Posting Whiz in Training
228 posts since May 2010
Reputation Points: -4 [?]
Q&As Helped to Solve: 12 [?]
Skill Endorsements: 0 [?]
 
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

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: