Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 15818, Directory container object for console apps.

by Jim Kutz Email: Anonymous


Standardized container loads itself automatically with full paths of files on or below a given path matching a findfirst filter. Output via stream or ISO-compliant iterators.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For C++Builder, Version 1.0  to 1.0 507 downloads
Copyright: No significant restrictions


Size: 3,909 bytes
Updated on Fri, 06 Apr 2001 05:06:08 GMT
Originally uploaded on Fri, 06 Apr 2001 04:59:35 GMT
SHA1 Hash: 0AC462BDD9910D7117470EE31073FB28FE3B8453
MD5 Hash: 85AE550CDAB45DE9906B81917203D6C2

    Explore the files in this upload

Description
This self-contained directory class incorporates a deque container, which it fills automatically when you pass the constructor a [required] path with wildcards, and [optional] attribute mask. Recursively scans subdirs. Supports wildcards and long pathnames. update() function refreshes listings. Includes ISO-compliant input iterators derived from std::iterator. Writes fully qualified filepaths to ostream. Idiot-proofed. Uses Borland-specific and .

Intended for use with small console-app utilities and student experimentation in 'pure' C++. Does not require OWL or VCL. Illustrates setup of iterators compatible with , and
simple recursion. Fairly readable. Additional info in .h file.
Provided 'as is' -- seems well-behaved.

Feedback to jimkutz@earthlink.net

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC04