I made this "masterpiece" during an exam because std::cin stops at space, and I wanted that space. Backstory in comments. : r/badcode
How to get two integer inputs separated by a space in C++ - Quora
C++ Using std::cin
c++ - Why does a second cin getting skipped over after a while(cin) loop fail? - Stack Overflow
Validating user input in C++ | HackerEarth
visual studio - Unexpected while behavior C++ (perhaps IDE related) - Stack Overflow
How to Input Validate an Integer (int) in C++ - using a while loop, cin.clear(), and cin.ignore() - YouTube
Solved C++: Write a do-while loop so that the function will | Chegg.com
C++ Validating Input with a while Loop - YouTube
How to use std::getline() in C++? | DigitalOcean
Chapter 5: The while loop
Window对于cin输入流结束的判断_Wzzzzzzx的博客-CSDN博客
Control Structures in C++ while, do/while, for switch, break, continue. - ppt download
Break Statement & Do While Loop
C++ while statement - TestingDocs.com
C++ Input Validations - while cin, cin.fail, cin string... - YouTube
How to make while loops (making a C++ investment calculator) - YouTube
c++ - cin.getline goes into infinite loop - Stack Overflow
C++ Assignment Help! The do while loop performs data | Chegg.com
Window对于cin输入流结束的判断_Wzzzzzzx的博客-CSDN博客
Solved C++ Checking for invalid char input from user in a | Chegg.com
c++ - while loop and getchar() - Stack Overflow
C++ Validating Input with a while Loop - YouTube
A First Book of C++: From Here To There, Third Edition2 Objectives You should be able to describe: The while Statement cin within a while Loop The for. - ppt download
All efficient input taking and fast I/O techniques in C++ || A complete input/output C++ guide for competitive programming. | by Mogileeswaran M | Analytics Vidhya | Medium