SHARE
TWEET

Untitled

a guest Apr 24th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main ()
  4. {
  5.     int c;
  6.     FILE *tokPod;
  7.     tokPod= fopen("tekst.txt", "r");
  8.     if (tokPod==NULL){
  9.         printf("Ne mogu otvoriti tekst.txt\n");
  10.         exit (-99);
  11.     }
  12.     while ((c=fgetc(tokPod))!=EOF)
  13.     putchar (c);
  14.     fclose (tokPod);
  15.     return 0;
  16. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top