FileSystemSnippets
These snippets illustrate how to work with the file system,
demonstrating how to create and delete file system entities, how
to access file system entities, and how to write and read from files.
To run the snippets, use either the SnippetBrowser or RunSnippet
utilities. RunSnippet can be invoked like this:
- RunSnippet TFileSystemSnippets a FileSystemSnippets
Notes
Three snippets are commented out in FileSystemSnippets.h and
preprocessor directived out in FileSystemSnippets.C. The snippets
cover parts of the file system that aren't working properly on the
current release. The code is proper so it's still in the files. To
activate the commented snippets, remove the commented blocks in
FileSystemSnippets.h, remove the commented blocks in the constructor
of TFileSystemSnippets, and change the '#if 0' to a '#if 1' in
FileSystemSnippets.C.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.