Standard C++ Library Reference ISO/IEC (VERSION3)

remove
int remove(const char *filename);
The function removes the file with the filename filename and returns zero if successful. If
the file is open when you remove it, the result is implementation defined. After you remove it,
you cannot open it as an existing file.
rename
int rename(const char *old, const char *new);
The function renames the file with the filename old to have the filename new and returns zero
if successful. If a file with the filename new already exists, the result is implementation
defined. After you rename it, you cannot open the file with the filename old.
rewind
void rewind(FILE *stream);
The function calls fseek(stream, 0L, SEEK_SET) and then clears the error indicator
for the stream stream.
scanf
int scanf(const char *format, ...);
The function scans formatted text, under the control of the format format and any additional
arguments. It obtains each scanned character from the stream stdin. It returns the number of
input items matched and assigned, or it returns EOF if the function does not store values before
it sets the end-of-file or error indicators for the stream.
SEEK_CUR
#define SEEK_CUR <integer constant expression>
The macro yields the value of the mode argument to fseek to indicate seeking relative to the
current file-position indicator.