Ch. 3: Expressions and Interactivity 3.1: The cin Object Flashcards
1
Q
What is a prompt?
A
It tells the user what data he or she should enter.
2
Q
What is a stream extraction operator?
A
It gets characters from the stream object on its left and stores them in the variable whose name appears on its right.
3
Q
What is the keyboard buffer?
A
When the user types values at the keyboard, those values are first stored in an area of memory known as the keyboard buffer.