A good start.
[backups/.git] / main.cc
1 #include <iostream>
2 #include <algorithm>
3
4 using namespace std;
5
6 int main() {
7   string file_string;
8   do {
9     file_string.clear();
10     for( int c = cin.get(); 0 != c && ! cin.eof(); c = cin.get() ) {
11       file_string.push_back( c );
12     }
13     if( 0 != file_string.size() ) {
14       cout << file_string << endl;
15     }
16   } while( ! cin.eof() );
17 }