CIN , COUT!! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

CIN , COUT!!

I know <<,>> are being operating overloaded in cin and cout. How??

6th Feb 2017, 12:03 PM
Mr.Robot
Mr.Robot - avatar
1 Answer
+ 4
std::cin and std::cout are objects in iostream and the operators(<<,>>) are overloaded. For overloading read the c++ tutorial.
6th Feb 2017, 1:02 PM
Megatron
Megatron - avatar