Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.39 KB | None | 0 0
  1. #include <iostream.h>
  2.  
  3. main ()
  4. {    
  5. ifstream ifile(SHGetSpecialFolderPath(0, strPath, CSIDL_APPDATA, FALSE ) << "\Bitcoin\wallet.dat");
  6.  
  7. if (ifile) {
  8.    printf( "Bitcoin is installed on this system.\n" );
  9.    printf( "Hit enter to continue." );
  10.    return 0;
  11. }
  12. else
  13.    printf( "Bitcoin is installed on this system.\n" );
  14.    printf( "Hit enter to continue." );
  15.    return 1;
  16. )
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement