// Quick and dirty example of get, put, and EOF. // read characters and output them and their character codes as integers #include using namespace std; int main() { char ch; while ( (ch = cin.get()) != EOF ) { cout.put(ch); cout << " "<< (int)ch ; cout <