Hi,
Is it possible to delete a file from C++ without using Win API function.
Thanks
Jane
Delete a file from code
Re: Delete a file from code
int remove ( const char * filename );
If the file is successfully deleted, a zero value is returned.
On failure, a nonzero value is reurned and the errno variable is set to the corresponding error code.
If the file is successfully deleted, a zero value is returned.
On failure, a nonzero value is reurned and the errno variable is set to the corresponding error code.