Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //////////////////////////// ZAPISYWANIE DO PLIKU "ZASZYFROWANE.TXT"
- FILE* zapis_szyfru;
- zapis_szyfru = fopen("zaszyfrowane.txt", "w");
- if (!zapis_szyfru)
- return -3;
- fprintf(zapis_szyfru, "%s", zakodowane );
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- printf("\n//////////////////////////////////////\nDRUGA CZESC \n//////////////////////////////////////\n\n");
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////
- FILE *abc;
- abc = fopen("zaszyfrowane.txt", "r");
- if (!abc)
- return -4;
- ////////////////////////////
- fseek(abc, 0, SEEK_END);
- fgetpos(abc, &dz_abc_fpos_t);
- fseek(abc, 0, 0);
- dz_abc_int = (int)dz_abc_fpos_t;
- printf("liczba znakow w pliku to = %d\n", dz_abc_int);
- ///////////////////////////
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement