#include using namespace std; int main() { int i; cout << " Type in some text and end with eof" << endl; while( ( i=cin.get() ) != EOF ) cout.put(i); return(0); }