home *** CD-ROM | disk | FTP | other *** search
- #include <LEDA/list.h>
-
- declare(list,string)
-
- main()
- {
- string s = read_string("cmd = ");
-
- cmd_istream IN(s);
-
- list(string) L;
-
- L.read(IN);
-
- L.sort(compare);
-
- string_ostream out;
-
- out << "jetzt kommt eine Liste: ";
-
- forall(s,L) out << s << " ";
-
- s = out.str();
-
- cout << s << "\n";
-
- /*
- L.print("L = ",'\n');
- */
- }
-
-
-
-