Name

remove function — Deletes a file

Synopsis

int remove(const char* filename)

The remove function deletes the file named by filename. It returns 0 for success or nonzero for an error.

Get C++ In a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.