This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <windows.h> | |
| #include <stdio.h> | |
| #if define UNICODE | |
| #define DeleteFile DeleteFileW | |
| #else | |
| #define DeleteFile DeleteFileA | |
| #endif | |
| int main(int argc, LPTSTR argv[]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <windows.h> | |
| #include <stdio.h> | |
| #if define UNICODE | |
| #define CreateDirectory CreateDirectoryW | |
| #else | |
| #define CreateDirectory CreateDirectoryA | |
| #endif | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <windows.h> | |
| #include <stdio.h> | |
| #if define UNICODE | |
| #define RemoveDirectory RemoveDirectoryW | |
| #else | |
| #define RemoveDirectory RemoveDirectoryA | |
| #endif | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <windows.h> | |
| #include <stdio.h> | |
| #if define UNICODE | |
| #define SetCurrentDirectory SetCurrentDirectoryW | |
| #define GetCurrentDirectory GetCurrentDirectoryW | |
| #else | |
| #define SetCurrentDirectory SetCurrentDirectoryA | |
| #define GetCurrentDirectory GetCurrentDirectoryA | |
| #endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <windows.h> | |
| #include <stdio.h> | |
| #define BUF_SIZE 16384 /* 2^14 Optimal in several experiments. Small values such as 256 give very bad performance */ | |
| #if define UNICODE | |
| #define CreateFile CreateFileW | |
| #else | |
| #define CreateFile CreateFileA | |
| #endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <windows.h> | |
| #include <stdio.h> | |
| #if define UNICODE | |
| #define MoveFile MoveFileW | |
| #else | |
| #define MoveFile MoveFileA | |
| #endif | |
| int main(int argc, LPTSTR argv[]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <windows.h> | |
| #include <stdio.h> | |
| #if define UNICODE | |
| #define FindFirstFile FindFirstFileW | |
| #define FindNextFile FindNextFileW | |
| #else | |
| #define FindFirstFile FindFirstFileA | |
| #define FindNextFile FindNextFileA | |
| #endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| int main() | |
| { | |
| printf("Hello World\n"); | |
| return 0; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| int main(int argc, char *argv[]) | |
| { | |
| if (argc != 4) { | |
| printf("Usage: exe num1 opr num2\n"); | |
| return 1; | |
| } | |
| int x = strtol(argv[1]); | |
| int y = strtol(argv[3]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <windows.h> | |
| #include <stdio.h> | |
| #define BUF_SIZE 16384 /* 2^14 Optimal in several experiments. Small values such as 256 give very bad performance */ | |
| #if define UNICODE | |
| #define CreateFile CreateFileW | |
| #else | |
| #define CreateFile CreateFileA | |
| #endif |