I am stuck on a question found in the book Jumping into C++ by Alex Allain.
Chapter 4 question 4: Expand the password checking program from earlier in this chapter and make it take multiple usernames, each with their own password, and ensure that the right username is used for the right password. Provide the ability to prompt users again if the first login attempt failed...
I am able to create a successful one user and password checker but (I can't seam to figure out how to make it work for at least 2 people.) I skipped it and move on to loops and succeeded in the Bottles of Beer project and remembered that I still had to expand the above password project. My problem is I keep mixing up and miss calling int or strings and I don't understand how to use getline in a multiple option for the user. *** Any ideas or help on keeping them straight please?