FileSys::Create( FileSysType )
Create a new FileSys
object.
Virtual? |
Yes |
|
Class |
||
Arguments |
|
file type |
Returns |
|
a pointer to the new |
Notes
A FileSysType
is an enum
taking one of the
values defined in filesys.h
. The most commonly used
FileSysType
s are as follows:
Argument | Value | Meaning |
---|---|---|
|
|
file is text |
|
|
file is binary |
|
|
file is text, open only for append |
Example
To use Create()
to create
a FileSys
object for a log file (text file,
append-only):
FileSys *f = FileSys::Create( FST_ATEXT );