+ 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 Odpowiedź
+ 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