2010-01-14から1日間の記事一覧

Win32API ファイルを削除する DeleteFile

#include <windows.h> int main() { char *lpFileName = "test.txt"; if (DeleteFile(lpFileName)) { printf("Success\n"); } else { printf("Error\n"); } return 0; }</windows.h>