The extraction operator, >>
In lesson 105, you learned about the insertion operator (<<).
The insertion operator is used with cout to insert data into the output stream.
The cin object uses an extraction operator (>>) to extract data from the standard input and to deposit that data into named variables.
The use of the extraction operator is shown in boldface in Listing 1.