|
|
1.1 root 1: // exios118.cpp
2: // The istream getline member function
3: #include <iostream.h>
4:
5: void main()
6: {
7: char line[100];
8: cout << " Type a line terminated by 't'" << endl;
9: cin.getline( line, 100, 't' );
10: cout << line;
11: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.