std::fopen
From cppreference.com
| Defined in header <cstdio>
|
||
| FILE *fopen( const char *filename, const char *mode );
|
||
Opens a file indicated by filename and returns a file stream associated with that file. mode is used to determine the file access mode.
[edit] Parameters
| filename | - | file name to associate the file stream to | ||||||||||||||||||||||||||||||||||||||||
| mode | - | null-terminated character string determining file access mode
|
||||||||||||||||||||||||||||||||||||||||
[edit] Return value
Opened file stream on success, NULL on failure
[edit] See also
| closes a file (function) |
|
| synchronizes an output stream with the actual file (function) |
|
| open an existing stream with a different name (function) |
|