diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2001-03-24 01:58:32 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2001-03-24 01:58:32 +0000 |
commit | df5aed8de33407b20f97d7270e08569e65b3b613 (patch) | |
tree | c41c79c4ef7430b486f8d317ee8497996acc3333 /contrib/libstdc++/tests/tvector.cc | |
parent | 66d7199d63dd50149e63de8a1ffead30b532eee6 (diff) |
Notes
Diffstat (limited to 'contrib/libstdc++/tests/tvector.cc')
-rw-r--r-- | contrib/libstdc++/tests/tvector.cc | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/contrib/libstdc++/tests/tvector.cc b/contrib/libstdc++/tests/tvector.cc deleted file mode 100644 index ef238ef52da52..0000000000000 --- a/contrib/libstdc++/tests/tvector.cc +++ /dev/null @@ -1,20 +0,0 @@ -#include <vector.h> -#include <iostream.h> -#include <algo.h> - -main () -{ - cout << "Fill of C array:\n"; - char x[50]; - fill (x, x+50, '/'); - fill (x+1, x+49, '*'); - copy (x, x+50, ostream_iterator<char>(cout)); - - cout << "\nFill of vector<char>:\n"; - - vector<char> cvec; - cvec.insert (cvec.begin(), 50, '/'); - fill (cvec.begin()+1, cvec.end()-1, '-'); - copy (cvec.begin(), cvec.end(), ostream_iterator<char>(cout)); - cout << endl; -} |