hi guys,
what do you call this '<<' and this '>>' operators in C++ ?
Thanks
This is a discussion on operators within the C++ Programming forums, part of the General Programming Boards category; hi guys, what do you call this '<<' and this '>>' operators in C++ ? Thanks...
hi guys,
what do you call this '<<' and this '>>' operators in C++ ?
Thanks
aren't they overload operators? I'm pretty sure that's what they're called.
I believe they are call insertion and extraction operators (I am assuming you're not referring to the bit-shift operators)
They are usually called "put to" and "get from" respectively. Others like to call them inserters and extractors. It's more geekish that way
No matter what your question is not innocent as it may seem. Fact is not even Stroustrup gave them a name. He keeps calling them the << operator and >> operator.
Regards,
Mario Figueiredo
Using Borland C++ Builder 5
Read the Tao of Programming
This advise was brought to you by the Comitee for a Service Packless World