Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(int argc, char* argv[])
- {
- if (argc < 2)
- return 1;
- FILE *pFile = fopen(argv[1], "rb");
- if (!pFile){
- printf("Can`t open file\n");
- return 1;
- }
- fclose(pFile);
- printf("End operations...\n");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement