Advertisement
Guest User

Untitled

a guest
Jan 17th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #include<stdio.h>
  2. #include<string.h>
  3. #include<stdlib.h>
  4.  
  5. int main(void){
  6. FILE *fp;
  7. FILE *fpp;
  8. char znak;
  9.  
  10. fp=fopen("polski.txt","r");
  11. fpp=fopen("polski2.txt","w");
  12. if(fp==NULL){
  13. printf("Null\n");
  14. }
  15. while((znak = getc(fp)) != EOF){
  16. fputc(znak,fpp);
  17. }
  18.  
  19.  
  20.  
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement