#include #include using namespace std; int main() { char c; while (cin >> c) { //while (operator>>(cin, c).operator void *()) { cout << c; //operator<<(cout, c); } return cin.rdstate() == (ios_base::eofbit | ios_base::failbit) ? EXIT_SUCCESS : EXIT_FAILURE; }