diff --git a/sciotest/main.cpp b/sciotest/main.cpp index 729ebd0..da9ec70 100644 --- a/sciotest/main.cpp +++ b/sciotest/main.cpp @@ -15,8 +15,13 @@ using namespace std; int main(int /*argc*/, const char * argv[]) { try { - sc::io::fdostream chan(1); - chan << "hello, sciotest\n"; + sc::io::fdostream chan {1}; + chan << "Please enter a line of text:\n"; + + string line; + sc::io::fdistream is {0}; + getline(is, line); + cout << line << '\n'; } catch (const exception& ex) { cerr << su::basename(argv[0]) << ": " << ex.what() << '\n'; return EXIT_FAILURE;