I made this "masterpiece" during an exam because std::cin stops at space, and I wanted that space. Backstory in comments (here too). (x-post /r/badcode). : r/programminghorror
Using cin.getline() method in C++ - YouTube
Standard Input/Output in C++
Easy Programming - Beginner C++ Tutorial - using cin.get() (22) - YouTube
cin in C++ - GeeksforGeeks
c++ - Unable to read char array using cin.getline - Stack Overflow
cin in C++ - GeeksforGeeks
Beginner C++ input behviour - Stack Overflow
Xcode can't seem to assign correct user input from cin to string variable C++ | MacRumors Forums
c++ - getline function not working with multiple string input - Stack Overflow
C++ Getline function
Standard Input/Output in C++
How to verify if an email address is valid (contains @ and .com) in C++ using a string library - Quora