While writing code, sometimes we need to store some intermediate data in a temporary storage. Usually a temporary variable or memory stream is enough to save the data, but it is not safe when the data is large. In this post, you will find the implementation of a simple stream class that encapsulates a temporary file for using as an intermediate storage.
Posts tagged as File System
When any software wants to save a file in a directory, first it should check whether it has the write access to the directory. In this post, there is the implementation of a small Delphi function to check whether a directory is writable or not.