Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main (void) {
- int c;
- FILE *tokPod;
- tokPod = fopen("tekst.txt", "r");
- if (tokPod == NULL) {
- printf("ne mogu otvoriti tekst.txt\n");
- exit(-99);
- }
- while ((c = fgetc(tokPod)) != EOF) {
- putchar(c);
- }
- fclose(tokPod);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement