☰
Debian Codegraph
@
13.04.01-1
/
/
yo
/
iostreams
/
examples
/
copycincout.cc
☽
☼
yo/iostreams/examples/copycincout.cc
code
plain
raw
GPL-2+
1994-2025 by Frank B. Brokken, University of Groningen.
debian/copyright
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
}