Electrical and Computer Engineering
27
of 37
UAH
CPE 112
Another Reading
Marker Example
•
int
i;
char
ch;
float
x;
•
•
Statements
Contents After
Marker Position in the
•
Input
Input Stream
•
25\n
•
A
\n
•
16.9\n
•
cin
>> i;
i = 25
•
cin
>> ch;
ch = ‘A’