Debian Codegraph @

yo/iostreams/examples/copycincout.cc

raw
1 #include <iostream>
2 using namespace::std;
3
4 int main()
5 {
6 while (true)
7 {
8 char c;
9
10 cin.get(c);
11 if (cin.fail())
12 break;
13 cout << c;
14 }
15 }