seeplus, THANK YOU SO MUCH!!! I’m in a Facebook group and tried to get help but instead they turned ability for me to post and comment, but this website is pretty cool.
Thank you so much for help guys, especially you seeplus! ;)
Happy coding!
You might want to change your design a little - using some more functions can make your main() cleaner. Also putting login into the processing loop gives as a possible:
Also, instead of using >> to obtain username/password, consider using getline(). Then you won't need a complicated getline() for the command. This complication is only due to the mixing of >> with getline(). Doing this would also allow spaces in the username and password, which using >> doesn't.