Last active
July 5, 2021 02:56
-
-
Save ripperdev/453697b217c3e02680c2cf10d69f1f68 to your computer and use it in GitHub Desktop.
This file contains 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> | |
#include <string> | |
#pragma warning(disable : 4996) | |
int main() { | |
FILE* stream; | |
std::string file_name = "c:\\abc\\uyhb.jpg"; | |
if ((stream = fopen(file_name.c_str(), "r")) == NULL) { | |
printf("failed\n"); | |
} else { | |
printf("success"); | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment