int _tmain(int argc, _TCHAR* argv[]) { create_bob_txt(); copy_bob_txt(); CloseHandle(filehandle); DeleteFile(fname); return 0; }
int _tmain(int argc, _TCHAR* argv[]) { create_bob_txt(); copy_bob_txt(); printf("ReadFile() api\n"); readapi_bob2(); printf("Memory Mapped I/O\n"); read_file_using_memory_map(); delete_bob_txt(); return 0; }
int main() { wchar_t bob_txt[FILE_NAME_SIZE]; wchar_t bob2_txt[FILE_NAME_SIZE]; get_full_path(bob_txt, bob2_txt); create_bob_txt(bob_txt); copy_bob_txt(bob_txt, bob2_txt); read_bob_txt(bob2_txt); delete_bob_txt(bob_txt, bob2_txt); return 0; }