Use "getline( cin, password );" instead of "cin >> password;" to read passwords that may contain spaces.
2.7 KiB
2.7 KiB
Use "getline( cin, password );" instead of "cin >> password;" to read passwords that may contain spaces.