Пример #1
0
int main() {
  Stream stream;

  stream.Set();
  cout << stream.Get() << endl;

  InputStream istream;
  cout << "> " << flush;
  istream.Set();
  cout << istream.Get() << endl;
}
Пример #2
0
int main(){
	InputStream stream;
	cout << stream.Get() << endl;
}