How do you read the characters "<<" and ">>" out loud?
I am wondering if there is a standard way if we pronounce typographic characters out loud for reading characters <<
and >>
? This is suitable for me when you educate C ++ students and discuss / determine which characters need to be written in specific places.
The best answer should not be names such as “bitwise shift” or “insertion,” because they refer to more specific C ++ operators, unlike the context-sensitive character itself (which is what we want here). In this sense, this question does not coincide with questions such as this or, none of the answers satisfy this question.
Some comparative examples:
- We can read
#include <iostream>
as "pound include brackets iostream bracket". - We can read
int a, b, c;
as "int comma b comma c semicolon". - We can read
if (a && b) c = 0;
as "if the open bracket, double ampersand and b close the brackets c, it is zero with a semicolon."
So the equivalent question is: how do we read the same way cout << "Hello";
? At present, in the class we mean these symbols as the “left arrow” and “right arrow,” but if there is a more common phrase, I would prefer to use it.
Other equivalent ways to pose this question:
- How do we typographically read
<<
? - What is the common name of the character
<<
, is it used for bit shifts, inserts or overloads for something completely new? - : ", , , , , ", ?
- ? " , , ____."
( Chrome PDF Reader " ", ).
OP , , , ISO ++ (, +
"", , , ). ISO ++ .
(5.8) / , .
, ++ <<
/>>
, , " - / ", , , : " , ".
( ) <<
/>>
, ISO ++ 14 ( : http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4296.pdf) " ":
21.4.8.9template<class charT, class traits, class Allocator> basic_istream<charT,traits>& operator>>( basic_istream<charT,traits>& is, basic_string<charT,traits,Allocator>& str );
( >>
)
2.7.2.2.2:
27.7.2.2.2operator>>(unsigned short& val); operator>>(unsigned int& val); operator>>(long& val);
( ...)
cout << "string" << endl;// I really just say "send string to see out. Add end line."
i++; // i plus plus
auto x = class.func() // auto x equal class dot func
10 - ( i %4) * x; // ten minus the quantity i mod four times x
stdout // stud-out
stderr // stud-err
argc // arg see
argv // arg vee
char* // char pointer
&f // address of f
- , "" "" , .
- "" ""
- .
- The natural label will exit the double quote output stream Hello world double quote exclamation stream endline
- This is the EXPLOITATION you perform (verb)
- What ARM calls the operator has nothing to do with the fact that this is a systematic way of looking at things, and we are trying to help people understand things instead.