prog.cpp:1:21: error: windows.h: No such file or directory
prog.cpp: In function ‘int main()’:
prog.cpp:15: error: ‘WIN32_FIND_DATAA’ was not declared in this scope
prog.cpp:15: error: expected `;' before ‘file_data’
prog.cpp:16: error: ‘HANDLE’ was not declared in this scope
prog.cpp:16: error: expected `;' before ‘handle’
prog.cpp:17: error: ‘handle’ was not declared in this scope
prog.cpp:17: error: ‘::FindFirstFileA’ has not been declared
prog.cpp:17: error: ‘file_data’ was not declared in this scope
prog.cpp:18: error: ‘INVALID_HANDLE_VALUE’ was not declared in this scope
prog.cpp:20: error: ‘::FindClose’ has not been declared
prog.cpp:21: error: ‘FILE_ATTRIBUTE_DIRECTORY’ was not declared in this scope
prog.cpp:44: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result