We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,382 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Login system in Console C++

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

4
Contributors
5
Replies
3 Days
Discussion Span
2 Years Ago
Last Updated
7
Views
electrox73
Newbie Poster
12 posts since Jan 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

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

sundip
Junior Poster
104 posts since Aug 2010
Reputation Points: 14
Solved Threads: 24
Skill Endorsements: 1

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 :(

electrox73
Newbie Poster
12 posts since Jan 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 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.

Ancient Dragon
Achieved Level 70
Team Colleague
32,145 posts since Aug 2005
Reputation Points: 5,836
Solved Threads: 2,577
Skill Endorsements: 69

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

electrox73
Newbie Poster
12 posts since Jan 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 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

jackmaverick1
Posting Whiz in Training
223 posts since May 2010
Reputation Points: 6
Solved Threads: 10
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.2955 seconds using 2.66MB