+ 2

C++ is about confusing what is the use of cin<<

6th Jul 2019, 11:55 AM
Emmanuel Abraham
2 ответов
+ 3
Its cin>> its main work is to get input from the user always uses>> operator not that one which u mention in the question.
6th Jul 2019, 11:57 AM
Piyush Srivastava
Piyush Srivastava - avatar
+ 1
It writes user input for a variable, using it should not be much more complicated than using cout, you only need to flip the shift << to >>.
6th Jul 2019, 6:52 PM
Seb TheS
Seb TheS - avatar