Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Untitled

a guest Jan 27th, 2014 379 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. #include <stdio.h>
  3. #include <stddef.h>
  4. #include <stdlib.h>
  5. #include <wchar.h>
  6.  
  7. int main()
  8. {
  9.     FILE* f;
  10.     wchar_t str[BUFFER_SIZE];
  11.     size_t  strSize;
  12.  
  13.     if ((f = _wfopen( L"d:\\1.txt",L"wb")) == NULL) // C4996
  14.     {
  15.         wprintf(L"_wfopen failed!\n");
  16.         return(0);
  17.     }
  18.  
  19.     if (fclose(f))
  20.     {
  21.         wprintf(L"fclose failed!\n");
  22.     }
  23.     return 0;
  24. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top