遇到一些編程上的問題.程序中是如何處理文件的。
熱心網友
WINAPI中提供有 DeleteFile()函數:HRESULT DeleteFile([in,string]LPCWSTR wsFile);Deletes the given file from the destination site. wsFile---Address of a null-terminated string that contains the name of the file to delete. --------------------------------------------------------------
熱心網友
你可以考慮用CFile類,或者調用Api函數都是很方便的。