Advertisement
Josif_tepe

Untitled

Jan 21st, 2023
853
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.35 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <string.h>
  4. #include <ctype.h>
  5. int main(int argc, char * argv[])
  6.  
  7. {
  8.     FILE * in = fopen(argv[1], "r");
  9.     FILE * out = fopen(argv[2], "w");
  10.    
  11.     if(in == NULL) {
  12.         printf("loso vnesuvanje\n");
  13.         return 0;
  14.     }
  15.     printf("%d\n", argc);
  16.    
  17.  
  18.    
  19.  
  20.    
  21.     return 0;
  22.  
  23. }
  24.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement