Advertisement
Josif_tepe

Untitled

Dec 24th, 2020
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.41 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <string.h>
  4. #include <ctype.h>
  5.  
  6. int main()
  7. {
  8.     FILE *p = fopen("in.txt", "r"); // "r" znaci read odnosno ako sakame da prevzeme od fajlot, "w" znaci write odnosno ako sakame da ispecatime vo fajlot
  9. //   fscanf(<#FILE *restrict#>, <#const char *restrict, ...#>)
  10. //    fgetc()
  11. //    fgetln(<#FILE *#>, <#size_t *#>)
  12.    
  13.    
  14.     fclose(p);
  15.     return 0;
  16. }
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement