Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <stdio.h>
- #include <stddef.h>
- #include <stdlib.h>
- #include <wchar.h>
- int main()
- {
- FILE* f;
- wchar_t str[BUFFER_SIZE];
- size_t strSize;
- if ((f = _wfopen( L"d:\\1.txt",L"wb")) == NULL) // C4996
- {
- wprintf(L"_wfopen failed!\n");
- return(0);
- }
- if (fclose(f))
- {
- wprintf(L"fclose failed!\n");
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement