![I made this "masterpiece" during an exam because std::cin stops at space, and I wanted that space. Backstory in comments. : r/badcode I made this "masterpiece" during an exam because std::cin stops at space, and I wanted that space. Backstory in comments. : r/badcode](https://preview.redd.it/i0eedqmvrle01.png?width=640&crop=smart&auto=webp&s=2851846437ede49ca3ae0e1bd98f997113cc7691)
I made this "masterpiece" during an exam because std::cin stops at space, and I wanted that space. Backstory in comments. : r/badcode
![How can I split string and integer when user input both the string and the integer in the same line in C++? - Stack Overflow How can I split string and integer when user input both the string and the integer in the same line in C++? - Stack Overflow](https://i.stack.imgur.com/C1oRw.png)
How can I split string and integer when user input both the string and the integer in the same line in C++? - Stack Overflow
![How to use cin.get(), cin.peek() and cin.putback() in c++ programming. What is difference between cin amd cin.get() c++. | Medium How to use cin.get(), cin.peek() and cin.putback() in c++ programming. What is difference between cin amd cin.get() c++. | Medium](https://miro.medium.com/max/617/1*baTyVvF1ZFWJAB1msrXRqA.png)