| <<< Standard Input Stream, Cont. | Index | Unformatted I/O Example >>> |
Formatted input means
reading expected type and format
automatic whitespace processing
#include <iostream>
int main( )
{
int one;
int two;
std::cout << "Please enter two integers: ";
std::cin >> one >> two;
return 0;
}
| <<< Standard Input Stream, Cont. | Index | Unformatted I/O Example >>> |