+ 1
is the insertion tag(<<) in c++ A stream or just cout
2 ответов
+ 2
"<<" is an overloaded operator, which is overloaded to be a put() function.
cout << "x = ";
is the same as
put(cout,"x = ");
that's why here👉(https://www.sololearn.com/discuss/2312863/?ref=app) when you were using it inside cin, then it was same as
put(cin,"\n") which is not possible.